Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Javascript anyone?
Message
 
 
To
05/02/2000 15:09:50
General information
Forum:
Visual FoxPro
Category:
Internet applications
Miscellaneous
Thread ID:
00327467
Message ID:
00328019
Views:
32
>Does the business with '?' just redefine the expression following in Netscape terms? -- that's what it looks like.

Yes, it roughly translates to:

if (row.cells[2].innerText ) {
//browser type is IE and supports innerText property
var city = row.cells[2].innerText; }
else {
//browser is Netscape
var city = row.cells[2].firstChild.nodeValue; }
Michael McLain
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform