Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. FreeSiteTroy

    Delete Previous Line

    I don't think that would do it. I need to delete a whitespace line that was probably created by another PHP script that includes these RSS feeds. I can't find where it comes from because there are like 10 nested scripts that work to create the feed, so I'm wondering if I can erase the last line...
  2. FreeSiteTroy

    Delete Previous Line

    I'm having some real trouble with my RSS feeds in b2evolution blog software. Basically, they're being outputted with a blank line before the XML declaration, and I can't seem to find where that blank line is coming from. Is there any code I can insert at the beginning of the RSS PHP file to...
  3. FreeSiteTroy

    Webspace Calculator - First Script Help

    Finally figured out that this line: else if (buttonArray[a].checked && buttonArray[a].name == "blog" || buttonArray[a].name == "forum") { needs to be: else if (buttonArray[a].checked && buttonArray[a].name == "blog" || buttonArray[a].checked &&buttonArray[a].name == "forum") { It was...
  4. FreeSiteTroy

    Webspace Calculator - First Script Help

    Figured it out. I had a typo in the <input id="result" type="text"> line
  5. FreeSiteTroy

    Webspace Calculator - First Script Help

    Well, i now know the != operator is like <> :), would save me a lot of time trying to do it myself (id've checked for each one that wasn't blog or forum :)). But now when I hit submit the whole page refreshes so I don't get anything in the result box, despite the return false; in my onsubmit...
  6. FreeSiteTroy

    Webspace Calculator - First Script Help

    Thanks a lot! I'll read through the code and try to understand it before I paste it in. I didn't know that form elements could be outside of form tags, interesting. I had been wondering how to use getElementById and now I know :)
  7. FreeSiteTroy

    Webspace Calculator - First Script Help

    So how do you check to see if a button is checked? (don't give me too much code here, I want to do the loop and stuff myself :) )
  8. FreeSiteTroy

    Webspace Calculator - First Script Help

    I don't mind it being a rough estimate, I just want it to work without giving me NaN in the result box. I changed the code to parseInt but still no luck. Any ideas?
  9. FreeSiteTroy

    Webspace Calculator - First Script Help

    I'm very new to JavaScript and I am trying to write a program that allows people to calculate their webspace usage, but everything I try I just get undefined or NaN. Here's my code, any help is greatly appreciated! <HTML> <HEAD> <TITLE>Webspace Calculator</TITLE> </HEAD> <BODY> <script...

Part and Inventory Search

Back
Top