I’m trying to insert two Element Id’s right in the middle of a hyperlink contained within a JSON (JSON-P) get request using jQuery. Any suggestions?
function doFunction(id1,id2) {
$.getJSON("http://google.com/[id1]/[id2]?callback=?");
}
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Not sure I follow; is this what you’re looking for?