![]() |
|
|
|
Thread Tools | Display Modes |
|
|
|
|
#1 |
|
Newbie
Join Date: Mar 2007
Posts: 1
Rep Power: 0
![]() |
Javascript debugging
I hate javascript debugging because it is so non specific when you have an error... Anyway here is my script I am having trouble with... (I am getting an error saying I am "missing ; before statement" Please Help
onclick=" if(document.form2.shipfax.value=='Shipper Fax') { document.form2.shipfax.value='Shipper Fax <--- REQUIRED'; document.form2.shipfax.style.color='red'; document.form2.shipfax.onfocus=' if(document.form2.shipfax.value=='Shipper Fax <--- REQUIRED') { document.form2.shipfax.value=''; document.form2.shipfax.style.color='black'; };'; document.form2.shipfax.onblur=' if(document.form2.shipfax.value=='') { document.form2.shipfax.value='Shipper Fax <--- REQUIRED'; document.form2.shipfax.style.color='red'; };'; };" |
|
|
|
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Hidden unless Javascript enabled? | Writlaus | JavaScript and Client-Side Browser Scripting | 3 | Apr 25th, 2006 10:52 PM |
| Debugging JavaScript? | Klipt | JavaScript and Client-Side Browser Scripting | 4 | Dec 16th, 2005 1:47 PM |
| HTML page not reading external Javascript file | aznluvsmc | JavaScript and Client-Side Browser Scripting | 9 | Nov 21st, 2005 9:17 PM |
| Curious about Debugging | linuxpimp20 | Other Programming Languages | 7 | Sep 9th, 2005 8:55 AM |