Skip to content
Advertisement

Tag: jquery

modal not working when use on click event

the button, use to click that pass direct to open in the modal modal section, after button clicked the modal suppose to open and show the data Jquery and ajax, i use on click event to get the id and pass then to the ajax in order to return data from a controller Note:- This cant open a modal after

How to pass jQuery variables to PHP

I am replacing the text of a div with a form so the user can edit it with it, but I don’t know how to pass the content of the variables from jQuery to PHP so the form can get the previous text and the id of the post. EDIT: What I need is to pass the jQuery postId and

Redirecting users to different pages after login

i have this website and i want to redirect users to 3 different pages, i have created 2 sign up pages that has a hidden field called role with different values on each of the sign up pages, one being “corporate”..So i used the script below to redirect the user based on the account type he or she creates. Is

Advertisement