Correct syntax for $.post() method is ____________

Tam ca

New member
Correct syntax for $.post() method is ____________
A. $.post(URL,data,callback)
B. $.post(URL,data)
C. $.post(URL,callback)
D. $.post(data,callback)
 
Answer: a
Explanation: The correct syntax for $.post() method is $.post(URL,data,callback). URL is the URL we want to request for. Callback is the name of the function that is to be executed. Data specifies the data that is to be send with the request.
 

Tìm kiếm

Back
Top