I need to set button onclick event for this.
<script type="text/javascript">
$(function () {
setTimeout(function() {
$.bootstrapGrowl("This Product Information Already Exist", {
type: "success",
align: "right"
});
}, 1000);
});
</script>
Here this is a function now I need press the button when run this function. plz. help...
do you mean on button click event this function should execute ??
<script>
$("#btn").click(fucntion(){
setTimeout(function() {
$.bootstrapGrowl("This Product Information Already Exist", {
type: "success",
align: "right"
});
}, 1000);
});
</script>
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.