Skip to content
Advertisement

Tag: php

Set Button id from javascript

I have a dropdown list which filled with the data fetched from db. I need to assign the selected index value of this dropdown list as the ID of a button. Is it really possible? my code Answer Might be this will solve your problem. I have added a class on btn call CustomerModalBttn . Try this

Call php function with onclick event?

I want to delete project from database.Before deleting I want to confirm it whether user want to delete or not.If user click on okay it has to call delete function.But in the code when user click the function is get called not only user click on okay but also click on concel.For other alter statement it is working fine.For calling

Capturing signature on a webpage (via tablet screen)

I am trying to write a short code to capture the signature via a tablet screen on a webpage. However, I can’t get the area up that captures that signature. The code I am using, which I have borrowed from other places that do work is: I suspect it has something to do with the links to jquery, unless somebody

Advertisement