How to pass multiple checkbox parameters through Ajax call?

2012-01-01  Source: Original Site  Category:JavaScript  Views:0 

Advertisement

I struck to pass the checkbox parameters through Ajax call. It shows an error . (error is: "missing ) (paranthasis) after argument list"). I wrote this code.

postXmlHttp( 'xhpCmnHistoryLog2.jsp'+genappend_submiturl+'&ui=<%=_ahsPage.getLoginUserID()%>&si=<%=_ahsPage.getSession()._fssID%>&sk<%=_ahsPage.getSession()._fssKey%>&dtltype=<%=incActivityCalOwnerType%>&id=<%=id%>&showupdate=+$('cb_ShowUpdate').checked&shownotes=+$('cb_ShowNotes').checked&showappts=+$('cb_ShowAppt').checked&showtask=+$('cb_ShowTask').checked&showcall='+$('cb_ShowCall').checked, 'refreshDivHistoryLog()' );

can any body give an idea on this ??

Related articles
  • How to pass multiple checkbox parameters through Ajax call? 2012-01-01

    I struck to pass the checkbox parameters through Ajax call. It shows an error . (error is: "missing ) (paranthasis) after argument list"). I wrote this code. postXmlHttp( 'xhpCmnHistoryLog2.jsp'+genappend_submiturl+'&ui=<%=_ahsPage.getLoginUse

  • Oracle Pass multiple procedure parameters through URL 2015-03-31

    I was successful in passing one parameter through but when I added a second it doesn’t work. Here is my example of one parameter: Here is how I tried two: Let me know if you have been successful in this situation

  • How to pass multiple Parameters to a DTS Package through command prompt in SQL 2000? 2012-09-30

    How to pass multiple Parameters to a DTS Package through command prompt in SQL 2000? Could any body give sample using dtsrun and /A switch

  • Oracle How to Pass multiple parameter into single store procedure 2012-09-01

    How to Pass multiple parameter into single store procedure like a one to many relationship. it is possible then reply me immediatly

  • How to pass select checkbox datagridview form1 to datagridview form2 2012-09-19

    How to pass select checkbox value on datagridview form1 to datagridview form2. I need on win c# platform. Would you please show code to me...

  • Sphinx Passing multiple search parameters 2012-11-21

    We are migrating from Ferret to Sphinx and came across an issue when passing multiple field parameters for more than 1 model using Sphinx. Our homepage allows users to search meetings based on meeting type and zip code. Rightnow we can pull results b

  • problem in passing multiple checkbox values 2013-04-23

    i have a problem in passing multiple checkbox values. the page displays records (pending invoices). each record has a checkbox on the last column. the user must check the boxes of the records he/she wishes to update. [html] <table> <tr>

  • Passing multiple URL Parameters 2013-06-15

    (Xcuse me for my bad English, I come from the Netherlands :queasy: ) Does anyone know if it is possible to pass multiple URL Parameters? I mean, when you make master/detailpages in Dreamweaver you can pass the ID to the detailpage. Is it possible to

  • how to insert multiple checkbox value in mysql database 2013-09-28

    how to insert multiple checkbox value in mysql database in php and what sould be Databse structre for this form. Please help me Sir Thank you in advance This is my PHP code -------------------------------------------------------------- <?php inclu

  • Oracle How to pass XMLType as parameters to Java stored procs ? 2013-11-29

    How to pass XMLType as parameters to Java stored procs ? ORA-00932: inconsistent datatypes: expected an IN argument at position 1 that is an instance of an Oracle type convertible to an instance of a user defined Java class got an Oracle type that co

  • jQuery How to check multiple checkboxes checked at a time 2014-02-22

    Hi, Is there a way to check a multiple check boxes checked at a time like. <input type='checkbox' id="id1"/> <input type='checkbox' id="id3"/> <input type='checkbox' id="id9"/> <input type='checkbox' id="id4"/> Is there a way

  • jQuery n00b question: how to pass multiple parameters on a href 2013-01-13

    Hello, I started today with looking at JQuery and trying to learn it. In the past I used an onclick with a function call and then multiple parameters to "do something". If I understand correctly I should now put them in a CLASS and then let Jquery fi

  • How to pass multiple parameters to a procedure 2013-08-12

    I have a procedure called 'ReIndex' and it takes 1 parameter called 'TName' I want to be able to pass multiple values to TName, but not sure what the best practice to do this would be. Should I just comma separate the parameters into the TName param,

  • How to pass multiple values to an "IN" clause through stored procedure 2015-01-01

    I created a stored procedure like the following in the hope that I can pass mulitple company_id to the select statement: CREATE PROC sp_test @in_company_code nvarchar(1024) AS select company_code, name, description from member_company where company_c

  • How to check Multiple CheckBoxes 2012-07-16

    I want to check Multiple checkBoxes. As eg: when i before submit the form i want to check only one check box is select. More than one check boxes selected i want to show the error Messages or less than one i want show error message. eg: if(checked

  • Oracle Passing multiple UDT parameters from .net to stored proc 2013-06-18

    Does anyone know if it is possible to pass multiple User Defined Type parameters from .net to a stored procedure? The only way I have managed to do this was to wrap the objects in another object and pass the wrapper object to the stored proc. If I tr

  • Passing multiple select options through POST 2013-12-23

    I have got a select box set up and I'm trying to pass all the options through the POST method. I've spent some time trying to figure out how to do this online and was wondering if there is an easy way. I have it set to display all options on the foll

  • jQuery Proper way to send multiple checkbox values through a .get? 2015-02-04

    I have checkbox inputs like so: <input type="submit" value="One" id="one" /> <input type="submit" value="Two" id="two" /> Say they are both checked.. How would I send those values through the code below properly? $('#submit').click(functi

  • Oracle How to pass multiple values to a linked page in a interactive report? 2012-04-17

    Hi I want to create a customs link in an interactive report passing mutiple values. I have learned how to passed single value for example : select "thread_id", "l_floor"||'/'||"t_floor"|| floor, "address" '{a href="f?p=103:118:&APP_SESSION.::NO::

  • Oracle how to read multiple checkbox items 2012-04-24

    hello i have a problem reading the multiple checkbox items. i used the followin code: declare list_items htmldb_application_global.vc_arr2; begin list_items := htmldb_util.string_to_table(:P2_PRUEFSTELLE); for i in 1..list_items.count loop insert int