First  |  Prev |  Next  |  Last
Pages: 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122
reaching html elements
I am trying to get at all the 'a' tags surrounded by a div tag with an id of 'id' This doesn't seem to do it, picks up all 'a' tags links=document.getElementsByTagName(id).getElementsByTagName("a"); Any thoughts? Thanks, Chris ... 23 Jun 2008 14:47
Writing Arrays To <select> Tag
Hello everyone. I'm currently learning Javascript and doing a few exercises. One problem I'm working on takes an array of names from an xml file using Ajax and writes it to <select> <options> tags. This is the code they use: function writeSelect(name_group) { var this_option; var my_select... 24 Jun 2008 08:11
Creating DIV Tag
Create Javascript object Box and move it Object Box should create new HTML elements DIV on page. Quantity of Boxes on the page is unlimited. DIV should have: 1. absolute position; 2. background color: red; 3. padding 20px; Do not use document.write, innerHTML, insertAdjacentHTML. Box(BoxCount, width, heig... 15 Jul 2008 00:00
FAQ Topic - Why does simple decimal arithmetic give strange results? (2008-06-21)
----------------------------------------------------------------------- FAQ Topic - Why does simple decimal arithmetic give strange results? ----------------------------------------------------------------------- For example, 5*1.015 does not give exactly 5.075 and 0.06+0.01 does not give exactly 0.07 in javascr... 21 Jun 2008 18:54
Can JavaScript use a function before it's defined?
As subject. By 'before' I mean before in the file, not in time. Here's a file === $ cat wierd.js f() function f(){print('hi')} f() function f(){print('ho')} f() === And when I run SpiderMonkey on it $ js wierd.js I get - well, what do you think I get? OK. So I get === $ js wierd.js ho ho ... 20 Jun 2008 22:31
Anybody wanna check my company's website?
I've just finished assembling the company website - I've already been paid for it - for two days' work. But, since I'd like to be thorough, I'd like to have it tested by a wide variety of browsers, so as to not restrict our potential customer base. This is not a solicitation for business - I doubt if anybody on... 21 Jun 2008 01:34
FAQ Topic - How do I convert a Number into a String with exactly 2 decimal places? (2008-06-20)
yukabuk wrote on 20 jun 2008 in comp.lang.javascript: You should write this... var numberObj = new Number(6.57634); var formattedNumber = numberObj.toFixed(2); You? Why? What are you responding on? [please always quote on usenet] -- Evertjan. The Netherlands. (Please change the x'es to do... 24 Jun 2008 14:23
CHEAP PRICE !! Lady Prada Chanel Coach Sandals For Sale
This could be axpressed as the following... var SPAM = { "URLtoGOsee":"Www.c/heapforwholesale.com", "bolloxTEXT": ["Discount Coach Sandals, Dior Sandals, Prada Sandals, Chanel Sandals,Versace Sandals, Crocs Sandals, LV Sandals, Sandals, UGG Sandals, Burberry Sandals, Womens Sandals Mens Slippers From China"],... 20 Jun 2008 11:12
window.open
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/2000/REC-xhtml1-20000126/DTD/xhtml1- transitional.dtd"> <html lang="en" xml:lang="en" xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="content-type" content="text/html; char... 21 Jun 2008 09:41
CHECK BOX Problem
Sir i am using JSF framework and i have a method in a java class which when called retrives data from database,and on my jsp page there is a check box,and the scenerio is whenever i click on this checkbox it should call that method from java class ,so can u send me the code by which i can call that method from jav... 23 Jun 2008 09:38
First  |  Prev |  Next  |  Last
Pages: 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122