jQuery show & hide not working on iPad or iPhone

Completed Posted Apr 23, 2014 Paid on delivery
Completed Paid on delivery

All the functions in the following code work fine on desktop browsers, but on iPad and iPhone the top 2 functions work but the 3rd (starting $('input#pagebreakhomeNext').click(function () { ) doesn't work at all.

[login to view URL]();

jQuery(document).ready(function($){

$('div.rsform-block-pagebreak input').click(function () {

$(window).scrollTop($('[login to view URL]').offset().top);

return false;

});

$('a#pagebreaksubmitNext').click(function () {

$(window).scrollTop($('[login to view URL]').offset().top);

return false;

});

$('input#pagebreakhomeNext').click(function () {

if ($('input#postcode').val() != "") {

var code = $('input#postcode').val();

$.ajax({

url: “URL HIDDEN”,

dataType: "json",

data: 'code='+code,

async: false,

success: function(json) {

if(([login to view URL]) && $('[login to view URL]:checked').val() != "I do not get any of these benefits" && $('[login to view URL]:checked').val() == "Yes" && $('[login to view URL]:checked').val() == "Yes" && $('[login to view URL]:checked').val() == "Solid Walls" && $('[login to view URL]:checked').val() == "Between 1930 and 1976") { $('div.rsform-block-success').hide(); $('div.rsform-block-failure').show(); }

else if(([login to view URL]) && $('[login to view URL]:checked').val() != "I do not get any of these benefits" && $('[login to view URL]:checked').val() == "Yes" && $('[login to view URL]:checked').val() == "Yes" && $('[login to view URL]:checked').val() == "Solid Walls" && $('[login to view URL]:checked').val() == "After 1980") { $('div.rsform-block-success').hide(); $('div.rsform-block-failure').show(); }

else { $('div.rsform-block-success').show(); $('div.rsform-block-failure').hide(); }

}

});

}

});

});

HTML jQuery / Prototype PHP

Project ID: #5845789

About the project

12 proposals Remote project Active Apr 23, 2014

Awarded to:

siddhu1986

Hi, Experienced Web Developer. Can tweak the script to get it fixed so that it works on Ipa/Iphone. Regards, Sid

£26 GBP in 0 days
(541 Reviews)
7.6

12 freelancers are bidding on average £120 for this job

niravvirani17

Ready to start "Right Now" Give me chance to prove my ability and also quality work i am waiting your positive replay from your side i am highly interested to work with you

£103 GBP in 3 days
(860 Reviews)
8.4
shahid864

hi, my name is shahid, i am working in web development from past four year. Surely will provide you quality work and we will have long term relationship in web development. let me know if i can help you. please sh More

£20 GBP in 1 day
(638 Reviews)
7.3
kevinorin

Greetings I am interested in troubleshooting the issue you are having with your code. I am available to start working immediately and look forward to speaking with you further. Thank You

£272 GBP in 3 days
(29 Reviews)
5.6
Watchonlineshow

Hi greetings!! We are a team of great designers and developers having relevant skills and domain knowledge. Our experience includes: Customization of themes (Responsive and web 2.0 complaint design) Customizatio More

£87 GBP in 2 days
(5 Reviews)
2.9
acejudger

Hi, sir. I'm interested in your job. I can do this perfectly. It's simple to me. If you give me the chance to do this, I'll do my best and you will be satisfy. I hope to discuss more detail and forward/ Thanks

£139 GBP in 3 days
(1 Review)
1.1