Jump to content

Search the Community

Showing results for tags 'getdocumentbyid'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • W3Schools
    • General
    • Suggestions
    • Critiques
  • HTML Forums
    • HTML/XHTML
    • CSS
  • Browser Scripting
    • JavaScript
    • VBScript
  • Server Scripting
    • Web Servers
    • Version Control
    • SQL
    • ASP
    • PHP
    • .NET
    • ColdFusion
    • Java/JSP/J2EE
    • CGI
  • XML Forums
    • XML
    • XSLT/XSL-FO
    • Schema
    • Web Services
  • Multimedia
    • Multimedia
    • FLASH

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests


Languages

Found 1 result

  1. I am trying to change the button text to Call Me when the browser window is 1024 pixels or LESS. The code below works fine until I add the if wi variable. Does anybody have any ideas for making this work? <button id="phone" class="button"><a href="tel:6144788011" title="Call Advanced Systems">614-478-8011</a></button> <!--- Begin Call Button Script ---> <script> var changeText = document.getElementById("phone"); var wi = document.width; if(wi <= 1024){ changeText.innerHTML = "Call Me"; } </script> <!--- End Call Button Script --->
×
×
  • Create New...