Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Not able to hide a sentence using jquery

 
Vishal Hegde
Ranch Hand
Posts: 1077
Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HTML PAGE:



disclaimer.js page


 
Matthew Brown
Bartender
Posts: 4566
8
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Looks like you're missing some quotes round "#hideButton".
 
Vishal Hegde
Ranch Hand
Posts: 1077
Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Mathew,

I too realised the same thing
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64699
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are you not running with the JavaScript console open?
 
Vishal Hegde
Ranch Hand
Posts: 1077
Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Bear Bibeault wrote:Are you not running with the JavaScript console open?



I am using NotepadEditor, is there any other IDE I need to use
 
Matthew Brown
Bartender
Posts: 4566
8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Vishal Hegde wrote:
Bear Bibeault wrote:Are you not running with the JavaScript console open?

I am using NotepadEditor, is there any other IDE I need to use

I think he meant in your web browser. It should have an console that error messages are written to. For instance, if you're using Firefox, look for "Error Console" under the "Tools" menu (maybe somewhere else now, I'm using an old version at the moment). And there are plugins like Firebug that give you even more tools, allowing you to step through your Javascript, etc.
 
Vishal Hegde
Ranch Hand
Posts: 1077
Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Oooh found it but how do i come to know where to apply correct brackets.. I am getting confused with refernce to bracket
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64699
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Huh? Who said anything about "brackets"?
 
Vishal Hegde
Ranch Hand
Posts: 1077
Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Bear Bibeault wrote:Huh? Who said anything about "brackets"?


the issue was because of the brackets
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic