Jump to content

Search the Community

Showing results for tags 'javascript'.

  • 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

  1. I have a question, we are creating a form that is currently a PDF document found on our website. We are creating a web based version of the form. I would like to know if the ability to print the form as a PDF once it is filled in by a user is a JavaScript command. If so if anyone can help with the scripting that makes that happen would be great, as well as any pointers as to how to control any formatting in the printed PDF that will be rendered. Thank you in advance for any assistance you can offer. For reference as to what we would like the form to resemble when printed a copy of the cu
  2. very short code, grabbed it from the net and was trying to learn it. very simple workout page. No matter what I try I can not get box4 to fall under the box1 at the top and next to two center panels. Tried all alignments I could think of. My primary frustration is the code for dragging the red square w/the id =mvBox should work but does not. Have gone over it several times and can not find the error. I put some code to track the mouse to try & debug and alert box to make sure the ball.js script source was correctly linking up. I read the code over several times. I see no errors. Thank you
  3. bigjoe11a

    Nicedit

    I still haven't been able to get this to work. I get an error on line 37 in the code. can some one please help me fix this. I get an error of null is null or not an object. on line 37. Here is the home page http://nicedit.com/download.php and the owner took his forums off line and when I emailed him, He wanted me to pay him. Wel I attached to this post. Please any one. Joe nicEdit-.zip
  4. Hi guys im totally new to this. Im taking Transaction Processing I for the first time and it is ###### for me, first of all i am a total noob at this and my teacher doesnt teach at all so i am teaching my self. and sorry if i make mistakes on this post ( which is my first post of my life)..... so my question is this what is the javascript code for this particular function (lets call it p1) .... Below is the textarea named ta with the data from the spreadsheet pasted inside. XLdata col 1 col 2 col 3 row sum row 1 11 12 13 36 row 2 21 22 23 66 row 3 31 32 33 96 row 4 41 42 43 126 row 5 51 52 53
  5. Hi guys i want some help with a simple problem i have.Okay so im a new student and i have this website http://geeksqueaks.co.uk. Im trying to do this thing where the user clicks a button, this opens a message box, which the user then puts in a password, if the word is correct i want to be able to show a document.I hope this makes sense! Thanks guys
  6. <?xml version="1.0" encoding="utf-8"?><root><marquee>marquee 1</marquee><marquee>marquee 2</marquee><marquee>marquee 3</marquee><marquee>marquee 4</marquee><marquee>marquee 5</marquee><marquee>marquee 6</marquee><marquee>marquee 7</marquee><marquee>marquee 8</marquee><marquee>marquee 9</marquee><marquee>marquee 10</marquee></root> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&g
  7. Here is the location of the comments I need help with on my scrap Blogger/blogspot blog. I'm trying to move the replies under the ones they reply to. 1. I want to move the reply starting from the <li> node it is in, then 2. place it in a <ul> tag with the class "children" inside of the <li> node of which the comment replies to 3. I also want to remove the <a>reply</a> from the moved comment(s) Help me please
  8. The following adapted code taken from this page works in firefox (and I assume some other browsers), but it does not work in internet explorer. The specific part, which stops the script entirely in IE is highlighted in red bold below. Is there a work around to solve this problem so that I can change the content of a style sheet dynamically - using onClick etc Thanks as always for your time. <html><head> <style id="poo" readonly=false>#myAnchor{color:green}</style><script type="text/javascript">function changeLink(){document.getElementById('poo').innerHTML="#myAnc
  9. ok i create a slideshow "from an tuts" which works pretty well with words, but when it comes to images it doesnt really center and keep the height that i want 0.o how do i fix this? or am i missing something, anywho ill go buggin around with it, n if i fix it ill show wat i did or explain wat i did but i would like some opinions tho i work better with opinions
  10. I have an XML file and I want to manipulate it from user input and save the changes to the same file. Is this possible with javascript? I know how to load the XML file and manipulate the nodes but not how to save it. I have tried to search google and the forums aswell as reading the tutorials but I have not been able to find anything
  11. Hello, I am installing a javascript imageslider on my website. But I want to be able to store the "image-link" in a database, so every user can have his own images. This comes from the slidercode (jas.js): var JaS = {// Customization parametersimagePath : "../pictures/",images : [["1.jpg", "Bat bridge in Austin"],["2.jpg", "Blossoming tree", "Tree"],], A lot of other vars are beneath here. ---------- Right now it works with this: <button type="button" onclick="showUser(this.value)" value="<?php echo $_SESSION['myusername']; ?>">Change content</button> <br /> <d
  12. Please help me convert the below vbscript to javascript : set xmlDoc=CreateObject("Microsoft.XMLDOM")xmlDoc.async="false"xmlDoc.load("nba.xml")for each x in xmlDoc.documentElement.childNodes;document.write("<b>" + x.nodename + "</b>");document.write(": ");document.write(x.text);document.write("<br>");next Thanks in advance
  13. Please help me convert the below small code from vbscript to javascript, set xmlDoc=CreateObject("Microsoft.XMLDOM")xmlDoc.async="false"xmlDoc.load("nba.xml")for each x in xmlDoc.documentElement.childNodes;document.write("<b>" + x.nodename + "</b>");document.write(": ");document.write(x.text);document.write("<br>");next Thanks in advance.
  14. Hi,I have a xml file in the following format<employee><name>a1</name><age>22</age> <company> <name>company1</name> <address>address1</address> </company><tenure>3yrs</tenure></employee> I want to parse the xml file in javscript without using any getelementById or getelementByName. I was able to parse the xml using nodeValue, nodeType, however I am not able to parse inside the "company" tag (as company is a second level node). I am just able to extractname=a1age=22company=tenure=3yrs. Can someone ple
  15. The following code retrieves the text from the element with id="Text" and puts it in the element with id="putText": <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><title>Get text and put in element</title></head> <body> <p id="Text">$1,200.00</p> <p id="putText"></p> <script type="text/javascript">function getTextAndPutInElement(id) { var
  16. I´d like to get the amount between "(+$" and ")" and add it to the value of the inputbox. For example, you select the following:Solero Exotic (+$1.85)Cappuccino (+$2.49)iMac 27-inch 3.1GHz (+$1,999.00) These amounts will be subtracted from the options you've selected:1.852.491,999.00 The inputbox will display: 2003.34 But here's the tricky part, I need to do this without changing the existing attribute values or adding new attributes to the Option tag. Anyone know a javascript code that can do this? If possible, please post a sample. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict/
  17. Hi All, I've written some Javascript that will dynamically add "file" inputs to a form. They show up on the page just fine when the add control is clicked. But, when I submit the form, those dynamically added form fields are absent from the form structure on the receiving page. They're also absent from the form structure passed to the validation function. The added fields are added to a table within the form tags. The JS code adds table rows (TR). Then, cells are added to that row. Then, the file inputs to the cells. All this is done using DOM methods like appendChild(), createElement(),
  18. I have two amounts, each one in an element. I'd like to add them together and put them in an other element. Anyone know a Javascript that can do this? <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><title>Add amounts and put in element</title></head> <body> <p id="firstAmount">$1,133.79</p> <p id="secondAmount">$1,900.00</p> <br /> Total
  19. I have a Javascript that retrieves the text from between the "p" tags and put it in the title value, like this: before:<option title="" value="Put Text">Put Text</option> after:<option title="$1,179.83" value="Put Text">Put Text</option> The only problem is, it doesn't work in ie6-8. Does anyone know how to make this code work in ie6-8? <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; ch
  20. When you click a certain tag, an option will be selected. For example: you click on a Div tag with id="object3", this action will automatically select the Option tag "Water". Anyone know a Javascript that can do this (without using the value attribute)? <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><title>Click tag will select option</title></head> <body> <form
×
×
  • Create New...