6 Replies Latest reply on Apr 14, 2014 10:23 AM by steve_ssh

    Need help with Javascript/AJAX/JQuery


      I want to a create js function to attach to a button:



      Function mysqlinsert(IPaddress, Db, Username, pwd, table, fields, values)


      {enter the values into the fields in a new row in table of Db at IPaddress using Username and pwd to connect}



      I just want to know what to put beween the { }


      I happy to incorprate a standard js library in my site if needed.


      I want this to happen at the instant the user hits the button (I do know how make php do this when page loads.)


      Note thw 'values' do not come from form in puts, but they are PHP $variables which I can <? echo ?> into the values argument.