dhaval
dhaval

Reputation: 2388

jquery tabs are disturbed

Whenevr i uncomment the second line then the tabs are not shown. inform is a simple div placeholder in body

$("#tabs").tabs();
//$(#inform).hide();//initialize itto hide-interferes with tab

Upvotes: 0

Views: 106

Answers (2)

chaos
chaos

Reputation: 124277

Perhaps you mean $("#inform").hide().

Upvotes: 0

CtlAltDel
CtlAltDel

Reputation: 216

It might be because the " " are missing around #inform caussing a javascript error, this parse error will then prevent the first line from being run.

$("#inform").hide();

Will parse correctly.

Upvotes: 3

Related Questions