• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

passing arg from 1 javascript method to the other

 
Shiaber Shaam
Ranch Hand
Posts: 252
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Could you please let me know how to pass arg from 1 javascript method to the other?

i want to pass the divid from showcomplete to closediv.

please check atatched snippet.

please help.
code.GIF
[Thumbnail for code.GIF]
code snippet
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65128
92
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please post the code in code tags not as an attached GIF. The GIF is not searchable.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65128
92
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Time to learn about closures.

 
Shiaber Shaam
Ranch Hand
Posts: 252
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i tried my best to put the code in the code tags. but the td and other tags got translated after submitting.

please advise.

i regret.
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
than clcik the Disable HTML in this message checkbox.

Eric
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic