Search
 
SCRIPT & CODE EXAMPLE
 

JAVASCRIPT

put form action jquery

$('#button1').click(function(){
   $('#formId').attr('action', 'page1');
});


$('#button2').click(function(){
   $('#formId').attr('action', 'page2');
});
Comment

PREVIOUS NEXT
Code Example
Javascript :: jquery min 
Javascript :: js get time in am 
Javascript :: js remove the last character of a string 
Javascript :: update node js ubuntu 
Javascript :: chai expect async throw 
Javascript :: isoddjs 
Javascript :: set width of jqgrid 
Javascript :: nangular make window available 
Javascript :: js get data attribute 
Javascript :: add condition inside a className in reactjs 
Javascript :: javascript add script in head programmatically 
Javascript :: javascript anagram check 
Javascript :: how to convert whole strig in lowercase in js 
Javascript :: js extract domain from email 
Javascript :: js find lowest number in array 
Javascript :: newtonsoft json change property name 
Javascript :: how to assign port in angular 
Javascript :: wp_enqueue_script bootstrap 5 
Javascript :: clear ctx canvas with javascript 
Javascript :: how to math 
Javascript :: sockjs.min.js cdn 
Javascript :: javascript count elements in json object 
Javascript :: javascript foreach get key and value 
Javascript :: raspberry pi install node js 
Javascript :: last query prisma 
Javascript :: jquery set text of h1 
Javascript :: window loaded vanilla javascript 
Javascript :: javascript click 
Javascript :: javascript get origin url 
Javascript :: center image jsx css 
ADD CONTENT
Topic
Content
Source link
Name
6+5 =