XTIPS .MOBI
Some tips will only work on Xtgem domains

SETTING USER PREFS IN
COPY/PASTE FORMS

_____
When writing scripts you often need the user to change some value or text to personalize the script,
as in the simple javascript alert when you entered this page .

By using "get" arguments and a form you can let the user change the script
BEFORE they copy it

enter your message
The above script would need to be changed to
The form sets the variable "text"
_____
There is a more complex example in Xtips 15
NOTE
with most scripts you will have to ensure the & < > and " characters are in their "html entity" form
i.e &#38; or &amp; for & &#60; or &lt; for < &#62; or &gt; for > &#34; or &quot; for "
for the script to display correctly on all browsers My method of doing this automaticaly is described Here if you need to show a "get" argument in your script you need to change the { and } to &#123; and &#125; using text editor.

I know it's generic but the java alert came from
EVOLUTION

GO TO
XTIPS HOME PAGE
for more tips
CLICK HERE TO SEND
FEEDBACK
VISIT
MY GUESTBOOK
PLEASE SIGN
LINK TO XTIPS
ON YOUR SITE
AND JOIN MY LINK
EXCHANGE
©2009 - 2010 Theoldman
THE MOBILE WORLD IS
X T G E M