Ask questions and get good answers on jQuery

Hi Mateo, Again here... i'm not too familiar with coding, i guess im missing lots. like the goto function i guess.

Can you have a look please.Sorry to bug you.

http://www.iwmc-group.com/lang/en/credit-bureaus.html.

And Thanx for updating the mbScrollable.js

asked Jul 21 '10 at 17:12

Dalia's gravatar image

Dalia
373


Hi Dalia, you make a simple mistake :-)

here is the code you have on your page:

onChange="$("#myScroll").goToPage($('#pg').val());"

and here is how it should be:

onChange="$('#myScroll').goToPage($('#pg').val());"

if you use double-quote inside the onChange attribute you breake the code...

Then you are trying to get the value of an element with "pg" as ID... the SELECT has no ID at the moment... better if you use the sintax I posted in the previous post. Or try giving "pg" as ID of the SELECT.

Bye, Matteo

answered Jul 21 '10 at 17:16

Matteo%20Bicocchi's gravatar image

Matteo Bicocchi ♦♦
1776129

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Tags:

×3
×2

Asked: Jul 21 '10 at 17:12

Seen: 186 times

Last updated: Jul 21 '10 at 17:16

jQuery main site - Matteo Bicocchi