Basic jQuery doubt
Here is the code :
The above code works absolutely fine. The problem is with line shown in green. As far my knowledge goes html tags which don;t have content in it can be closed as < tagname /> and thus i tried doing the same for the line mentioned in green.
but to my surprise it didn't work in this case. Can you please let me explain me the reason behind this behavior.
Because script tags are required to have separate open and close tags. Maybe someone else has a more intellectual response. All I know is that they only work that way.
|All times are GMT +1. The time now is 02:08 AM.|
Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.