Hello, i've made a function for ajax self use.
the function get the defulte aguments (str,fieldName,responseType)
the responsetype its an argument that help me to get the data show in any way i want.
my problem is that i want to show a table using SELECT the select tag and AJAX. until the part that the data is shown i've made good.
the problem start when i want to add links to the data.
the sulotion its to put inside the SQLSTRING the links... but the problem is like that:
this is the sqlstring:
xmlHttpSqlString ="SELECT tblCustomersBranches.branch As [Branch], tblCustomersBranches.BranchID AS Code +'A' FROM tblCustomersBranches WHERE tblCustomersBranches.CustomerID = "
-------------------------------------------------------------------------
getXmlHttpData('"& xmlHttpSqlString & " '+ this.value,'Branches',2,'list')","[ Click to choose ]"
but then i get an error that say:
error: expected ')'
what should i do?
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks