Hi,
I haven’t got much javascript development experience but I think it’s probably the best solution to this: What I need to do is pass a variable to a page when clicking on a link. At least I think that’s what I want. One major facotr is I’m not allowed beyond 1.0 (unless there is no other solution). What I’ve got so far is this:
[CODE]<!–html form–><form name=”one” action=”myPage.asp” method=”post”><input name=”oneval” type=”hidden” value=”open” /></form>
<!–link with javascript–><a href=”javascript:document.one.submit”>link text</a>
That works spectacularly fine. The link sits in the page the form is invisible, click the link and it passes the hidden input’s value to the asp page. All lovely, but with two problems:
1) Everytime a user clicks the link they get the ‘Do you want to submit this form unencrypted across the internet” warning pop-up (unless they’ve disabled it). – which doesn’t exactly inspire confidence.
2) Not very elegant is it?
So, anyway to get the same result but bypass the form? Any help much appreciated.
cheers.