<Span> Tag in AJAXACAaron Cronje15yAsked Nov 29, 2011, 6:41 AM ESTSolvedShareLinkedInXCopy linkSaveHiI am working in ajax and face a probleam in tag. define what is tag .can i use in place of Tag? onclick = "getData('http://localhost/ch01/data.txt','targetDiv')">The fetched data will go here.
<Span> Tag in AJAXACAaron Cronje15yAsked Nov 29, 2011, 6:41 AM ESTSolvedShareLinkedInXCopy linkSaveHiI am working in ajax and face a probleam in tag. define what is tag .can i use in place of Tag? onclick = "getData('http://localhost/ch01/data.txt','targetDiv')">The fetched data will go here.
Javeed M ShaikhRank #839 · 2.7K reputation15y agoPosted Nov 29, 2011, 9:35 AM EST✓ Accepted answer0Hi Aaron,you should use when you want to do something inline line tag, and you should use tag when you want to use it in a block like tag. So is for inlines and is for breaking up parts of the page.0Join to answer this questionEvery answer you publish earns 20 SHARP.Create free accountSign inKnow the answer?Answer a question in the forums and earn +20 SHARP for every answer.See unanswered questionsForumsTop experts01Arun PottiAnswers in the forums20answers02Tahir AnsariAnswers in the forums5answers03Kamlesh KumarAnswers in the forums5answers04Sam HobbsAnswers in the forums4answers05Željko PerićAnswers in the forums3answers?YouYour name goes here.Every answer: 20 SHARP.JoinFull leaderboard →2026DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Javeed M ShaikhRank #839 · 2.7K reputationPosted Nov 29, 2011, 9:35 AM EST
you should use when you want to do something inline line tag, and you should use
tag. So is for inlines and is for breaking up parts of the page.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questionsTop experts