Welcome Guest, Not a member yet? Register   Sign In
on select change load value
#11

[eluser]pickupman[/eluser]
[quote author="il_dandi" date="1277758194"]Now it works!!

with $(function() {

can you tell me the differences between your first solution?

thanks[/quote]

The first example uses inline javascript that get executed when the event happens. With $(function() { this is jQuery special way running and attaching event handlers to the page on the onLoad event. Now any elements on your page matched by the selectors will have events bound to them. The point of jQuery is to eliminate any js inside your html elements. It also provides cross browser support for way certain browser handle things like the onUnload event amongst many others.
#12

[eluser]il_dandi[/eluser]
Thanks for detailed informations!!




Theme © iAndrew 2016 - Forum software by © MyBB