how to add subscripe to your blog at wordpress?

<form action=”?page_id=22″ method=”post”>
<input type=”hidden” value=”s” name=”na”>
<input type=”hidden” value=”widget” name=”nr”>
<input type=”text” name=”ne” id=”Email” >
<input type=”button” value=”إشترك”
onclick=”if(this.form.ne.value==”) alert(‘ادخل البريد الالكترونى’); else {if(validateEmail(this.form.ne.value)) this.form.submit();
else alert(‘ادخل بريد الكنرونى بطريه صحيحة’);}” />
</form>

 

function validateEmail(elementValue){
var emailPattern = /^[a-zA-Z0-9._-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,4}$/;
return emailPattern.test(elementValue);
}

Advertisements

About lorddisk

WebCenter Content, WebCenter Portal, WebCenter Sites,Weblogic, Identity and Access Management (IAM),SSO,OAM,OIM,OAAM,OUD, OPAM,OID, OVD ,Oracle API Gateway ,OBIEE,OEDQ, Oracle ADF, Oracle SOA,J2EE, CackePHP ,PHP,J2SE,J2EE,Spring,Hibernate,JQuery,CSS,Java Script ,Joomla,Drupal,Worpress
This entry was posted in wordpress and tagged . Bookmark the permalink.