How to make a jquery javascript library affect just a specific div in HTML? -
How to make a jquery javascript library affect just a specific div in HTML? -
i know how create jquery javascript library impact specific div in html?. suppose have code below:
<html> <head> </head> <body> <script src="jquery.js" type="text/javascript"></script> <script src="jquery1.js" type="text/javascript"></script> <div id="div1"></div> <div id="div2"></div> </body> we suppose file jquery.js contains jquery javascript library having version 1.4: version 1.4 , file jquery1.js contains jquery javascript library having version 1.11.1: version 1.11.1 . know how can create jquery.js script impact div has id "div1" , how can create jquery1.js script impact other 1 (i mean div having id "div2"). possible that?
thanks in advance.
@nick r right comment; should not load different versions of jquery on same page. different versions of jquery libraries include different editions of same functions , create conflicts each other. because when external file (jquery library) loaded html page, of html page has access file. so, when load in 2 different libraries same page -- no matter in page -- everywhere aware of both libraries. around, can create new pages each load different libraries. wanted set within divs on original page on new pages. embed them original page inline frames.
jquery html version javascript
Comments
Post a Comment