PHP Classes

File: public/themes/admin/js/form.admin.settings.js

Recommend this page to a friend!
  Classes of milenmk   Simple PHP Password Manager   public/themes/admin/js/form.admin.settings.js   Download  
File: public/themes/admin/js/form.admin.settings.js
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Simple PHP Password Manager
Application to store and retrieve user password
Author: By
Last change:
Date: 1 year ago
Size: 557 bytes
 

Contents

Class file image Download
function submitRowAsForm(idRow) { form = document.createElement("form"); form.method = "post"; form.action = ""; // TELL THE FORM WHAT PAGE TO SUBMIT TO $("#"+idRow+" td").children().each(function() { if(this.type.substring(0,6) == "select") { input = document.createElement("input"); input.type = "hidden"; input.name = this.name; input.value = this.value; form.appendChild(input); } else { $(this).clone().appendTo(form); } }); form.submit(); }