Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 153 results for
javacript
- Page 1
Help with .Click()
Programming
Web Development
9 Years Ago
by Tuan_2
Javacript
novice here, I've been trying to learn how to …
Javacript Slide Show
Programming
Web Development
18 Years Ago
by squirrelj
I have tried to put a javascript slide show in my site but i cam't seem to get it to work. Here is the code for my page i have checked that all my images and folder names are correct butit still won't work Cheers for any help [CODE]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/…
Re: Javacript Slide Show
Programming
Web Development
18 Years Ago
by tgreer
That's a lot of code to debug... really more than I want to try. Where did you get the script? It might be best to contact the script author.
Re: Javacript Slide Show
Programming
Web Development
18 Years Ago
by cppforlife
Ok, i found that switchImage(place) didn't have closing bracket so that's why was error. (I think so). I didn't see slideshow images but i suppose that it will work. [CODE]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.…
javacript code not working in firefox but works fine in IE
Digital Media
UI / UX Design
17 Years Ago
by V KUMAR
var head = headElement.firstChild; var headTable = headElement.firstChild; var body = bodyElement.firstChild; var bodyTable = bodyElement.firstChild; var a = body.offsetWidth; alert(a); var scrollBarWidth = body.offsetWidth - body.clientWidth; headTable.style.width = Math.max(0, bodyTable.offsetWidth + …
Re: javacript code not working in firefox but works fine in IE
Digital Media
UI / UX Design
17 Years Ago
by hollystyles
offsetWidth is not supported in all browsers [CODE] var x,y; var test1 = document.body.scrollHeight; var test2 = document.body.offsetHeight if (test1 > test2) // all but Explorer Mac { x = document.body.scrollWidth; y = document.body.scrollHeight; } else // Explorer Mac; //would also work in Explorer 6 Strict, Mozilla and Safari { x = …
Javacript calculation
Programming
Web Development
13 Years Ago
by khaleel_rashid
this is my function which is calculating values. But if any of the values is empty it does not calculate the total payment value. if there is any simple way to calculate pls let me know [CODE]function startCalc(){ interval = setInterval("calc()",1);} function calc(){ room_charges = document.ipd_bill.room_charges.value ; …
Re: Javacript calculation
Programming
Web Development
13 Years Ago
by hielo
try: [CODE=javascript] function calc(){ room_charges = isNaN(parseInt(document.ipd_bill.room_charges.value)) ? 0 : parseInt(document.ipd_bill.room_charges.value); lab_charges = isNaN(parseInt(document.ipd_bill.lab_charges.value)) ? 0 : parseInt(document.ipd_bill.lab_charges.value); consultancy_fees = isNaN(parseInt(document.ipd_bill.…
Re: Javacript calculation
Programming
Web Development
13 Years Ago
by khaleel_rashid
hielo It is giving the following error. Actually i am get room charges, lab charges values from database using ajax. Then i am doing the total and subracting discount. if any of the charges is not available it gives the error. Message: 'document.ipd_bill.room_charges.value' is null or not an object
Re: Javacript calculation
Programming
Web Development
13 Years Ago
by hielo
you are probably "erasing" your original field OR the field is not in the DOM when you call the function. Can't tell you for sure without looking at your actual page online!
Javacript Runs on Chrome but ! not IE & Firefox
Programming
Web Development
12 Years Ago
by abhi10kumar
I am populating combobox on checkbox checked or not click event. Here is code. I am not solving the bug, JS runs on chrome but not in both IE and Firefox. checkbox <input type="checkbox" onclick="selectinactivebatch(this.value);" id="inactive_batch" name="inactive_batch" <?php if(isset($_POST)) …
Javacript Function Runs on Chrome but ! not IE & Firefox
Programming
Web Development
12 Years Ago
by abhi10kumar
I am populating combobox on checkbox checked or not click event. Here is code. I am not solving the bug, JS runs on chrome but not in both IE and Firefox. checkbox <input type="checkbox" onclick="selectinactivebatch(this.value);" id="inactive_batch" name="inactive_batch" <?php if(isset($_POST['…
Re: Javacript Runs on Chrome but ! not IE & Firefox
Programming
Web Development
12 Years Ago
by twiss
Change [icode]checkboxvalue=='on'[/icode] to just [icode]checkboxvalue[/icode].
Re: Javacript Runs on Chrome but ! not IE & Firefox
Programming
Web Development
12 Years Ago
by ko ko
[QUOTE]<input type="checkbox" onclick="selectinactivebatch(this.value);" id="inactive_batch" name="inactive_batch" <?php if(isset($_POST['inactive_batch'])) echo "checked";?>>[/QUOTE] Where is the value of that checkbox ? You must have already put that checkbox value. Like: [code] <…
Re: Javacript Runs on Chrome but ! not IE & Firefox
Programming
Web Development
12 Years Ago
by twiss
Yes, probably you mean this.checked? If you change that and what I said before, it should work (as long as you mean checked, not value).
Re: Javacript Function Runs on Chrome but ! not IE & Firefox
Programming
Web Development
12 Years Ago
by twiss
Duplicate of [url]http://www.daniweb.com/web-development/php/threads/365181[/url].
Help in printing mulitple documents using print button
Programming
Software Development
19 Years Ago
by koa1aboi
can somebody help me with this... i need a
javacript
code to print multiple documents when a print button is …
Help with printing mulitple documents in js...!
Digital Media
UI / UX Design
19 Years Ago
by koa1aboi
can somebody help me with this... i need a
javacript
code to print multiple documents when a print button is …
Some advice appreciated
Programming
Web Development
18 Years Ago
by montysden
… this: If a visitor to my site doesn't have
Javacript
- they can't see the effects that I've written…
Re: Some advice appreciated
Programming
Web Development
18 Years Ago
by tgreer
… this: If a visitor to my site doesn't have
Javacript
- they can't see the effects that I've written…
How to fire a HTML button by default when enter key is pressed using javascript..?
Programming
Web Development
16 Years Ago
by BalagurunathanS
… get fired without using the TAB key..? " I use
javacript
for validation..Is there anything do with javascript in this…
plz help php javascirp roblem
Programming
Web Development
16 Years Ago
by pranto157
… show 3 radio button.. plz help me... here is the
javacript
code [code] function radio_b(){ var a=document.getElementById("radio_button…
help me
Programming
Web Development
16 Years Ago
by pranto157
… show 3 radio button.. plz help me... here is the
javacript
code function radio_b(){ var a=document.getElementById("radio_button"…
onchange event of select box?????
Programming
Web Development
14 Years Ago
by gagan22
hi all, I want to make one application using
javacript
or may be it is in ajax. Let me explain …
how we can take $_post variable in javascript code???
Programming
Web Development
14 Years Ago
by gagan22
… i can do this. i need this value in my
javacript
code . please help me to fetch this $_POST['value'] in…
JavaScript onclick
Programming
Web Development
14 Years Ago
by DealthRune
… show a confirm box, but it doesn't. Heres the
Javacript
[CODE] <script language='javascript'> function confirm(){ var f…
Modal Popup extender giving javascript error object required
Programming
Web Development
14 Years Ago
by ja3_bhende
…" > </cc1:ModalPopupExtender> but its giving me
javacript
error as follows- Webpage Script Errors User Agent: Mozilla/4…
How can I capture onblur event?
Programming
Web Development
13 Years Ago
by ryy705
… to insert javascript in html. I need to keep all
javacript
in a separate file. Can I execute my function without…
Re: How can I capture onblur event?
Programming
Web Development
13 Years Ago
by Troy III
… to insert javascript in html. I need to keep all
javacript
in a separate file. Can I execute my function without…
Javascript interfering with Recaptcha?
Programming
Web Development
12 Years Ago
by hindu times
…, but more likely something interfering with the code... maybe some
Javacript
? I've put all the code for the two pages…
1
2
3
Next
Last
Search
Search
Forum Categories
Hardware/Software
Programming
Digital Media
Community Center
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Forums
Top Members
Meet People
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2024 DaniWeb® LLC