You have help me to do it!
Can you help me now to hide my link (because in link is my password)?
is this possible with JavaScript
Expand|Select|Wrap|Line Numbers
- <html>
- <body>
- <script>
- function updateHREF() {
- document.getElementById('theLink').href = 'https://myaccount.smsdiscount.com/clx/sendsms.php?'+ 'username=artxcenter.com'+'&password=mypass'+'&from=artxcenter.com' +'&to='+ document.forms[0].to.value + '&text='+ document.forms[0].text.value;
- }
- </script>
- <form>
- <input type="text" name="to" onchange="updateHREF();">
- <input type="text" name="text" onchange="updateHREF();">
- <input type="text" name="fieldThree">
- <a id="theLink" href="javascript:alert('Please enter some values.');void('');">test me</a>
- </form>
- </body>
- </html>