Welcome Guest, Not a member yet? Register   Sign In
Looping through error_string with JS
#2

[eluser]BrandonDurham[/eluser]
By the way, if I try to pass it along like this:
Code:
ShowErrors('<?=$this->validation->error_string?>')

I get this JS error: "Unterminated string literal", which essentially means the string is too long. Typically the way to fix that error is to break the string up into smaller strings and concatenate with "+". That's why I wanna loop through.

Sigh.


Messages In This Thread
Looping through error_string with JS - by El Forum - 08-24-2007, 09:06 AM
Looping through error_string with JS - by El Forum - 08-24-2007, 09:10 AM
Looping through error_string with JS - by El Forum - 08-24-2007, 09:25 AM



Theme © iAndrew 2016 - Forum software by © MyBB