|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
JavaScript - Help with hyperlinking drop down value
Hey i was wondering if someone could help
I currently have a drop down that when clicked displays the data of an excel database. Everytime the drop down is clicked for another value, the data will change. What i am trying to do is have a hyperlink beside the result. My output is displayed as spancust. What i am trying to do is open a document like so \\myserver\Document\$custnames[b][1] ".doc" custnames[b][1] will change everytime the drop down is click. Code:
strPath = "\\myserver\Document\"
spancust += ("<b>SheetForm1: </b> " + custnames[b][1] + "<br />");
|
|
#2
|
|||
|
|||
|
Hi again
I know i am replying to my own message but just wanted to see if anyone would have any ideas on how to hyperlink an array value I have declard a variable called strPath which remains contant. Code:
strPath = "file://myserver/customer documents/
if (custnames[b][1] != '') {
spancust += ("<b>SheetForm1: </b> " + custnames[b][1] + "href=<%strPath%> + custnames[b][1]" + "<br />");}
The output displays perfect when i have custnames[b][1] but as soon as i try to append it to strPath nothing happens. |
![]() |
| Viewing: ASP Free Forums > Programming > HTML, JavaScript And CSS Help > JavaScript - Help with hyperlinking drop down value |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|