PDA

View Full Version : HTML / VB Scripting



gvsmani
07-18-2006, 06:12 PM
Hi,
I have an HTML page with an input TextBox. I have to validate
the input value in the TextBox and fetch other string values
from a comma delimited .TXT file. Can anyone suggest how I should
go about using vbScript on this Html Page ( without having
to run a web server in the background).

navaldesign
07-19-2006, 08:09 AM
Make a google search for a Javascript that can validate the form input. Javascript usually uses an alert popup for the error message. Once the visitor has submitted his post, a background script (on the server) will update the .txt file, and then will reload the page, to make the new post appear.

However, please take into consideration the fact that a text file may become very big, thus greatly increasing load time. Consider the database option.

pristinelife
05-24-2007, 10:06 PM
Whats the difference between them? I want to add this to my pages,

<script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
</script>
<script type="text/javascript">
_uacct = "UA-1919623-1";
urchinTracker();
</script>

What language is the script, VB or Java? Thanks in advance

navaldesign
05-25-2007, 06:52 AM
This is Javascript. However, to place it in your page, use simply a HTML box and paste the code in it.

pristinelife
05-25-2007, 02:50 PM
This is Javascript. However, to place it in your page, use simply a HTML box and paste the code in it.

Thanks Navel, I did, but don't see it, does it have anything to do with the size of the HTML boxes?

navaldesign
05-25-2007, 05:05 PM
Ok, sorry about this, i didn't pay attention to what the script was. This is the Google analytics tracking script. This has to be pasted directly at the End of Body of your page html. Go in View, HTML, click on End of Body, and paste the code in there.
There is nothing to see in the page, the script only tracks visits to your pages and stores them in Google's database. If you want to see the statistics go in your Google Analytics account and you will be able to see your traffic details.

Please note that the script must be pasted in ALL the pages that you want to monitor.

However, the stats available through your CP are equally detailed.

Delete the html box.

diadi
08-21-2007, 01:29 PM
thanks you