FabioRicali.it

Javascript

Validare email con javascript

by info@fabioricali.it on giu.21, 2010, under Javascript

Ecco come validare un indirizzo email

function isEmail(string) {
	if (string.search(/^\w+((-\w+)|(\.\w+))*\@\w+((\.|-)\w+)*\.\w+$/) != -1)
	return 1;
	else
	return 0;
}
Leave a Comment more...

Eseguire javascript all’apertura della pagina

by info@fabioricali.it on giu.21, 2010, under Javascript

Ecco come eseguire uno script all’apertura della pagina

<script type="text/javascript">
	(function(){
	   alert("Hello World!");
	})();
</script>
Leave a Comment more...

Sweet Pages: Creare paginazione d’effeto con jQuery

by info@fabioricali.it on giu.10, 2010, under JQuery, Javascript

Questo script javascript che sfrutta il framework jQuery ci consente di paginare una lista di elementi.
Sweet Pages
Demo
Tutorial

Leave a Comment more...

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!

Visit our friends!

A few highly recommended friends...

Archives

All entries, chronologically...