No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
4 Posted Topics
Your code is running right i did not show any error on this
how to receive confirmation mail if any user register or login using Nodejs?
How to use multer npm using Express js?
**F**or pure java script : var placeholderVal; function hidePlaceholder(){ placeholderVal = document.getElementById("inputId").placeholder; document.getElementById("inputId").placeholder = ""; } function showPlaceholder(){ document.getElementById("inputId").placeholder = placeholderVal; **I**f you are using Jquery: $("#btn-hide").click(function () { $("[name=test]").removeAttr("placeholder"); }); $("#btn-show").click(function () { $("[name=test]").attr("placeholder","testing"); });
The End.
sagar_14