| View previous topic :: View next topic |
| Author |
Message |
Kopilman
Joined: 25 May 2006 Posts: 162
|
| F it. I'll match it on case |
| |
|
|
|
|
autos06
Joined: 13 May 2006 Posts: 123 Location: New York
|
| It's a String method, so maybe you need to cast it to a string |
| |
|
|
Kopilman
Joined: 25 May 2006 Posts: 162
|
| I'm not sure how to typecast in js |
| |
|
|
autos06
Joined: 13 May 2006 Posts: 123 Location: New York
|
| I have lots of ridiculous ideas |
| |
|
|
Ikopar
Joined: 26 May 2006 Posts: 168
|
| Kopilman,I think you can do innerHTML.toString().toLowerCase() |
| |
|
|
autos06
Joined: 13 May 2006 Posts: 123 Location: New York
|
| Easiest would be to try 'var inner = new String($('cart').innerHTML);' |
| |
|
|
Kopilman
Joined: 25 May 2006 Posts: 162
|
| Ikopar, thanks, I'll try that |
| |
|
|
autos06
Joined: 13 May 2006 Posts: 123 Location: New York
|
| Ikopar, Ooo, that's a good idea |
| |
|
|
Kopilman
Joined: 25 May 2006 Posts: 162
|
| Error: $("cart").innerHTML.toString.toLowerCase has no properties |
| |
|
|
Ikopar
Joined: 26 May 2006 Posts: 168
|
| You need the () |
| |
|
|
|