Code
'>in showPopUp Function - i am passing only one value ,but i want to pass more than one value .i given like below .not working
Code
OnClientClick='' />'>in showPopUp Function - i am passing only one value ,but i want to pass more than one value .i given like below .not working
OnClientClick='' />Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Naimish MakwanaRank #324 · 7.7K reputationPosted Feb 3, 2023, 1:00 AM EST
Hello Lejo,
Please try below code and test.
OnClientClick=''Your JS function.
function showPopUp(empID, name, date) { // empID, name and date can be accessed as variables within this function }An alternative is, you can concatenate the values and separate them with a delimiter. Then, in the JavaScript function, you can split the values using the same delimiter.
Thanks
Naimish Makwana
Sachin SinghRank #66 · 26.2K reputationPosted Feb 3, 2023, 1:33 AM EST
Test this
'>