I'm having problems because my site is done with Jquery 1.4.1.min and when I call a script like this:
<select class="styledselect_pages" onchange="mudalinhas(this.value) ">
Script with this version of jquery does not work:
<script src="https://code.jquery.com/jquery-1.4.1.min.js"></script>
Butwiththisversionalreadyworks:
<scriptsrc="https://code.jquery.com/jquery-1.10.2.js"></script>
The problem with this version is that if I use it on my site it changes my css's from the site
In other words, my question is how can I use one of these versions that makes my script work and does not change my css styles.
My script:
<script src="https://code.jquery.com/jquery-1.4.1.js"></script><scripttype="text/javascript">
function mudalinhas(idlinhas) {
if (idlinhas == 5) {
alert("ola");
}
}
</script>