This is a discussion on "Pass Dynamic values in Anchor Tag" within the JavaScript Forum section. This forum, and the thread "Pass Dynamic values in Anchor Tag are both part of the Program Your Website category.
|
|
|
|
|
![]() |
||
Pass Dynamic values in Anchor Tag
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
Pass Dynamic values in Anchor Tag
Hi Everyone..
Please observe the below code
Let us assume value of 'select' is 'ABCD' when i = 1 and at i = 10, value of select will be 'XYZ' . Observe that in href we are calling one javascript function assignValue(select) and passing select in that. This javascript will be called when i click the link, even i click link number 1, XYZ will be passed to the assignValue() since looping is completed. But i need ABCD to be passed when i click link 1 and the respective values should be passed for link2,link3...,link10. I hope you got my prob..Please help me how can i approach the solution. Thanks a lot... Last edited by karinne; May 4th, 2007 at 11:58. Reason: Please use [code]...[/code] tags when displaying code! |
|
|
![]() |
| Tags |
| anchor, dynamic, values |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| highlight anchor? | ktsirig | Web Page Design | 1 | Apr 28th, 2008 12:54 |
| What do I need to know to anchor a nav bar? | Pherdnut | Web Page Design | 2 | Nov 22nd, 2006 21:21 |
| Setting Form Values to Previously Entered Values | masonbarge | PHP Forum | 6 | Oct 17th, 2006 17:36 |
| Explode Anchor | Sheepymot | PHP Forum | 2 | Jul 23rd, 2005 13:24 |
| Assign string values to integer values of a session variable | Andy K | Classic ASP | 1 | Jul 13th, 2005 08:29 |