|
|
#1 |
|
Javascript help
document.open()
Pos= document.cookie.indexOf("Order") totalString = document.cookie.substring(Pos+16,Pos+0) Pos= document.cookie.indexOf("Credit") OrderedString = document.cookie.substring(Pos+36,Pos+0) document.writeln(totalString) document.writeln(OrderedString) document.close() This bit of code works but the "Order" part is of variable length, is there anyway I can stop it printing when it reaches a blank space to overcome this. |
|
|
|
0
|
![]() |
|
«
Previous Thread
|
Next Thread
»
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| thread | Thread Starter | Forum | Replies | Last Post |
| Quick JavaScript help? | AWShuttleworth | Web Design and Development | 1 | Nov 3, 2010 12:58 PM |
| More javascript help needed. | Mike Teezie | Web Design and Development | 0 | Feb 27, 2006 05:54 PM |
| CSS/Javascript help greatly needed | Mike Teezie | Web Design and Development (archive) | 4 | Jan 25, 2005 05:54 PM |
| JavaScript Help... | TENBLUE7™ | Mac Applications and Mac App Store | 0 | Jul 29, 2004 08:51 AM |
| javascript help needed | mnkeybsness | Web Design and Development (archive) | 0 | Mar 28, 2004 12:16 AM |
All times are GMT -5. The time now is 07:01 PM.






Linear Mode

