Wednesday, December 3, 2014

Script

Script ID add and change the src attribute :

setInterval(function() {
    var element = document.getElementById("widget_1");
    element.setAttribute("src", "hepp");
}, 10);

Contact Form Text Only show :

<script type="text/javascript">
jQuery(document).ready(function($){
jQuery('.alphaonly').bind('keyup blur',function(){
var node = jQuery(this);
node.val(node.val().replace(/[^A-Za-z+\s]/g,'') ); }
);
});
</script>

No comments:

Post a Comment