A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
The Mikado Method
this week in the
Agile and other Processes
Dynamically assign ID to hyperlink
Joined: Nov 16, 2004
Jul 08, 2009 10:38:09
I run jQuery and return a set of values. I want to use one of these values as the ID of a hyperlink created after the jQuery call runs.
my returned value is wResults.iNumber
'<A href="#" id=wResults.iNumber onclick="accessEditForm(this.id)">Edit</A>'
How can I get the hyperlink to read the value of the wResults.recseq variable?
Joined: Nov 08, 2001
Jul 08, 2009 12:20:11
Set the attribute?
I am not sure what youa re doing, maybe some more code would shed more light on your question.
Author and ninkuma
Joined: Jan 10, 2002
Jul 08, 2009 12:36:30
I have no idea what you are asking. What's
and what does it mean to "read" it?
And, you are using jQuery, yet have
attributes in your HTML?
Books by Bear
I agree. Here's the link:
- it saves me about five hours per week
subject: Dynamically assign ID to hyperlink
Question on how to fix error on inputHidden field
How to change the value of Hyperlink
Reset range slider values
Session variables are getting hosed!
passing value by hyperlink
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013