Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Escaping quotes in quotes
Message
De
08/02/2015 17:22:31
 
 
À
Tous
Information générale
Forum:
HTML5
Catégorie:
HTML
Titre:
Escaping quotes in quotes
Divers
Thread ID:
01615004
Message ID:
01615004
Vues:
54
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?
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform