Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Escaping quotes in quotes
Message
 
À
08/02/2015 17:22:31
Information générale
Forum:
HTML5
Catégorie:
HTML
Divers
Thread ID:
01615004
Message ID:
01615006
Vues:
44
>I have a link like this in a page:
>
>
><a href="javascript:parent.frames['IFrameTransaction'].SelectThisUser(2366,'Something')">
>
>
>Now, I need to add support for potential quotes inside the 2nd parameter.
>
>So, I could have something like this:
>
>
><a href="javascript:parent.frames['IFrameTransaction'].SelectThisUser(2366,'Something and "Something"')">
>
>
>This, of course, will not work as the browser will interpret the first quote to be the end of the link. I tried escaping the quote but this does not work.
>
>Anyone would know how to add support for this?

"]"
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform