FinalGear.com Forums  

Go Back   FinalGear.com Forums > General Discussion > Off-Topic

Welcome to the FinalGear.com Forums!

Off-Topic Everything else!

Reply
 
LinkBack Thread Tools Search this Thread
Old October 8th, 2007, 8:22 AM   #1
Lazy Head Dude
 
Viper007Bond's Avatar
 
Joined: Sep 21st, 2003
Last Online: 2:36 AM
Location: Portland, Oregon
Age: 25
Posts: 22,272
Car: Dodge Viper (I wish!)
Rep Power: 296
Viper007Bond has more bars, in more places.Viper007Bond has more bars, in more places.Viper007Bond has more bars, in more places.Viper007Bond has more bars, in more places.Viper007Bond has more bars, in more places.Viper007Bond has more bars, in more places.Viper007Bond has more bars, in more places.Viper007Bond has more bars, in more places.Viper007Bond has more bars, in more places.Viper007Bond has more bars, in more places.Viper007Bond has more bars, in more places.
Xbox Playstation Network Steam Twitter
Default Need some Javascript help

I have this:

HTML Code:
<span>Some Text<script type="text/javascript">someOutputFunction('somevar');</script></span>
I want to hide "Some Text", either by like innerHTML, CSS, or something. What can I do? An ID isn't an option, but a class is.

Simply put, I'm trying to display one thing if they don't have JS and another if they have JS. <noscript> will break validation.
__________________
There is no replacement for displacement.
- Wolfgang Bernhard, Chief Operating Officer, Chrysler Group talking about the Dodge Viper SRT-10

... I ask Herb Helbig, vehicle synthesis manager for SRT and a member of the original Team Viper development group since day one, if they'd ever thought of adding traction control. "It comes with two," he says, pointing at my feet. "Learn to use them." Got it.
- Motor Trend on the 2006 Dodge Viper Coupe, November 2005
Viper007Bond is offline   Reply With Quote
Want To Remove This Ad? Just Register For A FREE Account!
Old October 8th, 2007, 11:18 AM   #2
Experienced Crash Test Dummy
 
IceBone's Avatar
 
Joined: Jan 14th, 2007
Last Online: 12:21 AM
Location: Slovenistan
Age: 25
Posts: 9,302
Rep Power: 186
IceBone has more bars, in more places.IceBone has more bars, in more places.IceBone has more bars, in more places.IceBone has more bars, in more places.IceBone has more bars, in more places.IceBone has more bars, in more places.IceBone has more bars, in more places.IceBone has more bars, in more places.IceBone has more bars, in more places.IceBone has more bars, in more places.IceBone has more bars, in more places.
Send a message via MSN to IceBone Send a message via Skype™ to IceBone
Default

hmmm... this isn't really javascript help. images/smilies/tongue.gif

try:
HTML Code:
<span style="visibility: hidden;">
__________________

Bridge to Gantry time: 11:07
IceBone is offline   Reply With Quote
Want To Remove This Ad? Just Register For A FREE Account!
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Go Back   FinalGear.com Forums > General Discussion > Off-Topic
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Javascript Countdown Added To Site Viper007Bond The Site Itself 20 November 8th, 2007 8:00 AM
"Javascript" Viper007Bond Test Forum 1 August 17th, 2007 10:35 AM

All times are GMT. The time now is 3:35 AM.
All content © FinalGear.com unless stated otherwise.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.2
Page generated in 0.10477 seconds with 18 queries by web1
no new posts