When I write a javascript function in tag its not worked but the same code I written in it started working.
may I know why??
Javascript Not Working
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.
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
Veena SardaRank #79 · 24.5K reputationPosted Oct 16, 2013, 11:52 PM EDT
Sujit SahooRank #3,035 · 475 reputationPosted Oct 17, 2013, 12:13 AM EDT
Jaganathan BantheswaranRank #170 · 14.1K reputationPosted Oct 17, 2013, 12:41 AM EDT
The code is working as expected.
Here is working example