[jQuery] Re: New and Learning JQuery

2008-04-22 Thread Shawn
I *think* you are after something like this: script type=text/javascript $(.stripeMe tr).click(function() { var MyVal = $(#LNAME, this).val(); javascript:location.href='test.htmlMyval=' + MyVal; }); /script having a line that says $this(); doesn't really do

[jQuery] Re: New and Learning JQuery

2008-04-22 Thread binro01
Thanks Shawn! This explanation of (this) helped me a great deal! And helped my application! Rob On Apr 22, 5:33 am, Shawn [EMAIL PROTECTED] wrote: I *think* you are after something like this: script type=text/javascript $(.stripeMe tr).click(function() { var MyVal =

[jQuery] Re: New and Learning JQuery

2008-04-22 Thread Wizz
And just to point something out... Duplicate id's are never good on a page... I think you're better off by setting either the 'name' or the 'class' attribute of the hidden input. A page will never pass validation if it has duplicate id's on it and some of your javascript my freak out. Greetz,

[jQuery] Re: New and Learning JQuery

2008-04-22 Thread binro01
Thanks Wizz, I'll try that out too. On Apr 22, 9:13 am, Wizz [EMAIL PROTECTED] wrote: And just to point something out... Duplicate id's are never good on a page... I think you're better off by setting either the 'name' or the 'class' attribute of the hidden input. A page will never pass