JQuery script working in Firefox and Coda (IDE) but not Chrome?

Instead of having event.preventDefault() within your inline onclick event, try cancelling the default within your click function, like.

Up vote 0 down vote favorite share g+ share fb share tw.

It's way too much code to put here so here's the link to where I'm temporarily hosting it. theowindebank.co. Uk/jailbreak.

To reveal the tabs enter iPhone 2G and 1.1. The problem is that in Chrome, the second layer of tabs (jailbreak software) doesn't seem to work. When loading it shows the icons fine but the idTabs script doesn't seem to be firing. The strange thing is that the Operating system tabset loads and functions fine.

I've had it working on Chrome before and I don't know what I've changed since. Also it works fine in Firefox and Coda. The console shows nothing.

Javascript jquery html jquery-ajax cross-browser link|improve this question edited Dec 13 '11 at 19:18 asked Dec 13 '11 at 19:07Supertod475 70% accept rate.

Instead of having event.preventDefault() within your inline onclick event, try cancelling the default within your click function, like: function (event) { event.preventDefault(); (...snipped the rest of your function...) } More information - jQuery event.preventDefault(). Your inline onclick event.preventDefault(); seems to be causing issues in Chrome, this is the error output from Chrome's console: /jailbreak/:52Uncaught TypeError: Cannot call method 'preventDefault' of undefined (anonymous function)/jailbreak/:52 onclick/jailbreak/:53 f.event.triggerjquery.min. Js:3 f.fn.extend.triggerjquery.min.

Js:3 e.extend.eachjquery.min. Js:2 e.fn.e.eachjquery.min. Js:2 f.fn.extend.triggerjquery.min.

Js:3 $.idTabsjquery.idTabs.min. Js:7 $.fn.idTabsjquery.idTabs.min. Js:4 e.extend.eachjquery.min.

Js:2 e.fn.e.eachjquery.min. Js:2 $.fn.idTabsjquery.idTabs.min. Js:4 tabloader/jailbreak/:125 (anonymous function).

Worked a treat, thanks! – Supertod Dec 13 '11 at 19:32.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions