![]() |
| Domain Name Sales | Domain Software | Calculate UK Domain Drop Dates | Domain Registration | NameDrive | Domain Parking | Subscribe to our Domains For Sale newsletter |
| | ||||||
| Home | Register | Rules | Membership Upgrade | Domains For Sale | Domain Name Escrow | Mark Forums Read | Domain Classified | Chat Room |
| Scripts and Coding PHP, MySQL, scripts |
![]() |
| | LinkBack | Thread Tools | Display Modes |
| | #1 (permalink) |
![]() | Can't get javascript code to work
I'm trying to get a bit of javascript coding to work but really struggling The 'form' can be found here: http://www.freecarvaluation.org.uk/enter-registration/ and here is the coding behind it: Code: <script type="text/javascript">// <![CDATA[
function doit() {
var x = document.getElementById('symtb').value
window.open('http://being.successfultogether.co.uk/click.asp?ref=558809&site=7865&type=text&tnb=1&diurl=http://www.webuyanycar.com/affiliateTracker.aspx?AffiliateID=1007&CreativeID=72&Reg='+x)
}
// ]]></script>
</p>
<p>
<input id="symtb" size="20" type="text" value="SU06NJX" /> <button onclick="doit()">Get Value</button></p>
<p> </p>
<p><a href="http://being.successfultogether.co.uk/click.asp?ref=558809&site=7865&type=text&tnb=1&diurl=http://www.webuyanycar.com/affiliateTracker.aspx?AffiliateID=1007&CreativeID=72&Reg=SU06NJX">link</a></p> Does anyone have any ideas what I am doing wrong - does the url need formatting differently? |
| |
| | #2 (permalink) |
![]() |
Have you been accepted for the program, looks as its just being redirected to the network.
|
| |
| | #4 (permalink) |
![]() | |
| |
| | #7 (permalink) |
![]() |
It looks like a browser issue mate, both work fine in IE - in firefox the link works but the form doesn't. Firefox seems to be handling the & in the url differently in the link and in the form. Copy and paste the url into firefox from the code and it don't work, replace all the & with & and it works. Grant |
| |
| | #8 (permalink) |
![]() | webuyanycar - as just posted its a problem with your url on firefox
__________________ iBranded sites... Football Betting Tips | Cheap Flights | High Interest Bank Account | Instant Loans | London Olympics | Desi | Online MBA Courses | MBA |
| |
| | #9 (permalink) |
![]() |
ah ok im on Linux did'nt think anyone used ie anymore |
| |
| | #10 (permalink) |
![]() | ?? they still have the biggest share of the browser market and no doubt most of your users will be probably using ie... but the problem is with firefox not ie...
__________________ iBranded sites... Football Betting Tips | Cheap Flights | High Interest Bank Account | Instant Loans | London Olympics | Desi | Online MBA Courses | MBA |
| |
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Domain Name Community | Replies | Last Post |
| Voucher Codes - IAB Launches Code of Best Practice | bensd | Affiliate Marketing | 0 | 02-12-2008 09:33:39 PM |
| Hosted, updated voucher code sites from £49 per year | vintagecomputer.co.uk | Affiliate Marketing | 6 | 30-10-2008 03:33:23 PM |
| A new simply way to make a image slider- Javascript Code | o0DarkEvil0o | Website Design | 0 | 17-05-2008 07:05:15 AM |
| SEO work required | retired_member16 | Search Engine Optimisation | 1 | 05-05-2008 01:15:34 PM |