Can't you use the function encodeURIComponent(str)?

2009/4/23 neerav shah <[email protected]>

> HI All,
>
> I am preparing the data values{paramName:value} from the html page and
> passing to the jQuery function. But the parameter value contains white space
> or any special character so it is giving error 'Unterminated string'.
>
> Is thier any way I can get the same parameter value with the space and
> white character? As i need to save the data in the data base in the exact
> format.
>
> Thanks in Advance. !!!!!!!!!!
>
> >
>


-- 
Leonardo Rosseti, Web Developer / Desenvolvedor Web
Profile / Perfil: http://www.linkedin.com/in/leoros

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery Development" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/jquery-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to