hi,
i have a div that has the following content:
when i give the command:
ie it has encoded the & to & in the query string. is there a function to take it back to &.
Note: i cannot use document.getElementId of the link.
thanks
Known is handfull, Unknown is worldfull
i have a div that has the following content:
Code:
<div name='Lnk'>
<a href='hello.asp?id=1&title=Title'>Title</a>
</div>
when i give the command:
Code:
content1=document.getElementsByName('Lnk').innerHTML
//content is something like this:
//<a href='hello.asp?id=1&title='Title'...
ie it has encoded the & to & in the query string. is there a function to take it back to &.
Note: i cannot use document.getElementId of the link.
thanks
Known is handfull, Unknown is worldfull