Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Syntax to use quote in a window status
Message
De
06/06/2001 16:59:26
 
Information générale
Forum:
Internet
Catégorie:
Javascript
Divers
Thread ID:
00516042
Message ID:
00516056
Vues:
13
>>In a window status text, I am looking for the syntax to be able to include a quote in my text. Assuming, the text is "What's new", the syntax I have presently is:
>
>< A HREF=/Live/Whatnewall.asp TITLE="What's new" TARGET=_blank onMouseOver="window.status='What's new'; return true">What's new< /A>
>
>However, you can easily see that I have a problem in the window status as the syntax is already using the quote for the delimiter.
>
>Michel;
>
>Try
>Dim sQuote
>sQuote = Chr(34)
>
>title=" &sQuote What's new new'; return true &sQuote ">
>
>Looks like you are using to a Java Script function, with the return true statement.
>
>Give it a go and see if it works.

Yes, I am using javascript syntax. I searched the messages and found the \' syntax to use to represent a quote within a string.
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform