innerHTML not Working :(

Discussion in 'JavaScript' started by aadi92s, Jun 28, 2011.

  1. #1
    Hi Friends,

    Plz help me js innerHTML not working in wp plugin ....
     
    aadi92s, Jun 28, 2011 IP
  2. ads2help

    ads2help Peon

    Messages:
    2,142
    Likes Received:
    67
    Best Answers:
    1
    Trophy Points:
    0
    #2
    The error? codes?
     
    ads2help, Jun 30, 2011 IP
  3. W3Geek

    W3Geek Guest

    Messages:
    7
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    The notepad I use does not list innerHTML as JavaScript... It maybe depreciated. I know its works for me because I have used it multiple times. Please list any errors or problems that you might be having.
     
    W3Geek, Jul 4, 2011 IP
  4. ayushi infotech

    ayushi infotech Peon

    Messages:
    1,814
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #4
    friend your error code..............
     
    ayushi infotech, Jul 10, 2011 IP
  5. akshat.gl

    akshat.gl Member

    Messages:
    85
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    36
    #5
    Please show us your code so that we can help. Also, since it is a WP plugin, I would suggest you to have a look at jquery options too. There is a perfect method for this. val(). I also got a trouble with innerHTML while the val() method was a piece of cake.
     
    akshat.gl, Jul 11, 2011 IP
  6. spletnisistemi

    spletnisistemi Peon

    Messages:
    50
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Try using .value instead of .innerHTML.
     
    spletnisistemi, Jul 15, 2011 IP