facebook

calling a checkbox to run reverse function

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MobiOne Archive
  2.  > 
  3. Getting Help – General
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #324903 Reply

    pamplemoose5
    Member

    Hey,

    I’m trying to get a checkbox to disable, as well as change the transparency on some images.

    I was wondering how I call the checkbox?

    for images I’ve been using

    
    document.getMyElementById('m1-MyProject-image1').
    

    But I haven’t been able to call a checkbox. Is it becase it’s in a form?

    How would I call that?

    Also,

    I’m trying to get it to reverse the function, when I check the the checkbox again.

    How can I do that when the “OnChange” only allows for one function to be called?

    thanks muchly.

    #324935

    SonamGyato
    Member

    i suggest you look at the .html file generated by mobi and look
    at this element and find the exact id.

    then it’s straight dom programming.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: calling a checkbox to run reverse function

You must be logged in to post in the forum log in