Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Current Record in a Recordset
Message
From
07/07/1999 11:06:05
 
General information
Forum:
Visual FoxPro
Category:
Internet applications
Miscellaneous
Thread ID:
00237942
Message ID:
00238309
Views:
10
>>
>> lcValue = window.event.srcElement.parentElement.Cells(0).innerText;
>> alert(lcValue);
>>
>
>
> I don't mean to be a bug, but I can't get this to work. Whenever I try this command, I get an error "Object Expected". And I don't see the Cells entry in the available options (Intellisense).
> I can take out the Cells(0), and get the value of the data contained in the current column???
>
>
>Thanks
>Wayne

Do you have an element inside the table cell that could be firing the click event? parentElement should be giving a reference to the row, which has a Cells collection. Check the tagname property of the srcElement object... I was expecting TD... if it is someting different, then we need to revise how we get a reference to the row object...

Are you using VI?
Erik Moore
Clientelligence
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform