15,699 Topics
![]() | |
Hi, I'm trying to create an expandable content box for forum purpose, however the code I've come up doesn't work in IE, but it is valid HTML 4.01 Strict. Anyway, if I'm handling this problem the wrong way, please tell me how I should do it then. I have an … | |
I have an AJAX script that works fine the first time in IE. For example, if you go through the form and never change your mind, everything updates like normal. However, if you decide that where you checked yes you shold have checked no, the objects do not update. The … | |
I need some help here please. I have a form that has a javascript slider bar to give one field's percentage. Unfortunately I can't get the value to pass to the hidden input. Here's the code: [code=php]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <title>Slider test</title> <script type="text/javascript" … | |
I would like to do an Audit of who Prints out my Page of the Top Frame. I have the audit code figured out but I would like to know if there's a way to Press the print button and Print the Page. If the page was successful printed I … | |
Hey guys, I'm trying to learn how to create an interactive menu (menu that drops down when you hover over it) without using JavaScript. The reason I want to do this is because IE always asks "are you sure you want to run scripts or ActiveX controls", which I'm sure … | |
I am not experienced with javascript.I made a from with tabs.When i Click on order tab regorder.jsp in not coming.here is my codes. <div class="TabView" id="TabView" > <div class="Tabs" style="width: 500px;"> <a style="color:blue;"><font face="times">Order Form</font></a> <a style="color:blue;"><font face="times">Accounting</font></a> <a style="color:blue;"><font face="times">Services</font></a> <a style="color:blue;"><font face="times">Members</font></a> </div> <div class="Pages" style="color:blue; width: 900px; … | |
I would like to make a photo gallery using javascript. Are there any tutorials out there? This is what I wish for (but anything is better than nothing): - Vertical Bar - Auto Scrolling (mouse movement scrolls quicker on outsides and stops in middle) - When clicking on one of … | |
I am looking to recreate this photo gallery: [url]http://www.bourakis.com.au/gallery-contemporary.htm[/url] With its sidescrolling and picture enlargement. Thankyou, Regards X | |
Hi, I want to buy a JavaScript book to learn. What is the best book that should also have information about form validation, HTML DOM etc. with examples. Thanks | |
Hello , i have an .js file to fetch title and description from another site have utf8 charset and my site also have utf8 charset it fetch english character well but arabic or turki character it appear such that ????????? ???? ???????? .js content [CODE] function request_videoinfo() { if (!fetch_object('videourl').value) … | |
Can any one help with getting this script to work? Am i Missing something? [url]http://simplythebest.net/scripts/DHTML_scripts/dhtml_script_114a.html[/url] When i try, I get the whole list opened all down left side of page, like normal link type page. any help much appreciated. Thanks, Trip | |
Hello everyone! I am new to JavaScript and have been using PHP, but needed to use a dynamic form for information about County/State. Here is part of the code (keep in mind I did all 50 states this way-that's well over 3000 counties): [code] <script language="JavaScript" type="text/javascript"> <!-- //first combo … | |
Hi, How do i check if any of these checkboxs are selected. If nothing is selected then invalidate the form. Javascript thanks [code] <input type="checkbox" name="MYcheckbox[]" value="0"> <input type="checkbox" name="MYcheckbox[]" value="1"> <input type="checkbox" name="MYcheckbox[]" value="2"> <input type="checkbox" name="MYcheckbox[]" value="3"> [/code] | |
Hi; how can a predefined text be printed in a html page? it means, when the "print this page" button/link is clicked all the elements in the window is printed even the button. now is there any way to print just the texts & etc. without printing the buttons and … | |
Does anyone have any tutorial's on creating one? I see alot of Horzonital tutorials but no vertical. I wish it to be scrolling(mouse movement) and when clicked loads images and text that correspond. Also if possible to link this to an xml file would be very good :) Thanks Regards, … | |
I have a basic problem i dont know where the error lies. i can create a class Persoon and fill in all its values before its created . but for some reason when i call up the information i get the current Date as the birthdate and not what i … | |
hello I am new to this blogging thing and have decided to try it. I am also a Noob to JS and am late with my webpage I am trying to enlarge an inmage in it's own pop up window without useing html as you can see in my gallery … | |
hi, i want to have a image link static at the top right of the page, even if the user scrolls down the image should move along with the page.... [URL="http://www.dynamicdrive.com/dynamicindex4/logo.htm"]http://www.dynamicdrive.com/dynamicindex4/logo.htm[/URL] check the above link. But this is compatible only in ie and opera .. can anyone tell how to … | |
Hi. I'm new to this Java Script. Could anyone give me an idea how to start a quotation rotator that someone could embedded into their webpage, a JavaScript script, and that would display a random quotes on their page. The quotes could just be saved as a .txt file. | |
Hi all, I have a problem with a script that is driving me round the bend and I do hope someone can shed some light on the matter. I am new to Javascript and need a nudge in the right direction. I have three select menus - Country, Region and … | |
I have a web based form that contains a select box that calls to an AJAX function from the onchange event that produces at least two additional select/textboxes boxes. When I submit the form using Firefox/Mozilla, the additional form values do not post to the next page. Ugh! Works fine … | |
While making use of a sample for addContent (located at [url]http://www.randomsnippets.com[/url] - specific page [URL="http://www.randomsnippets.com/2008/04/14/how-to-dynamically-add-content-to-a-div-via-javascript/"]here[/URL] ) I stumbled into a problem that I hope someone can help on. This may not be the best/only way to skin this cat, but we have a PHP/MySQL page that has to be modified … | |
Hi everybody. here i have a problem with hashtable. i am storing hashtable in session scope and i want to validate that hashtable with javascript in next jsp . how suresh kumar | |
Hello people, I want that when I mouse over a checkbox, that it is checked. I have now the following code: [CODE=javascript] <script language=javascript> function checkit(myform, name) { var xx = document.myform.name; xx.checked = true; } </script> <form name=myform27> <input type=checkbox name=mycheck onMouseOver="checkit(myform27,mycheck)" value="1"> Checking </form> [/CODE] But this does … | |
Hi, I'm just getting into the world of Javascript and is faced with this following problem: How to filter out and hide/remove only those <p> elements that I've given a certain className with unobtrusive javascript. Is there anyone out there that can display an example of how this is done?? … | |
I used a wonderful resource at oreillynet to grab a pretty nice script to open up mp2's in a little .js pop up window. I'm just having a little issue trying to get the link color to change. I see where the code is and have tried several reditions. Just … | |
Hi all, i am trying to get only the folder names from a directory using java script. i cant able to get the result. please can anyone tell me the code to solve this problem. Advance thanks Yaazh. | |
Hi, how can I assign an action to an icon? For example, I have a print or close icon and I insert it in my webpage, now how can I assign appropriate actions to the icons? Please help...!!! | |
The code below disable whole dropdownlist when select. How do i only disable and grey out certain values in the dropdownlist? function ViewPersonalinfoBoxes(fm) { if (fm.PolicyType.value=="VEHICLE" || fm.PolicyType.value=="VEHICLENO") { alert('System not available!'); document.RegForm.PolicyType.disabled = true; } } * RegForm is the form name * PolicyType is the dropdownlist | |
Hellow, Can we prevent exposing java script and css in source code of web page on the user machine??? please if anybody know about it???? shuja | |
I am a beginner at this stuff so its probably something easy im asking. However I am trying to pass an array of data to a function and I keep getting this error: missing ) after argument list [IMG]http://astro.temple.edu/~tua11553/error.bmp[/IMG] The "7 For All Mankind Relaxed Vintage Honululu Denim" is one … | |
Hi, I'm new to the UI side of AJAX, and I was wondering if there was any AJAX framework (or an extension to the framework) which has the functionality like this: [url]http://tool-man.org/examples/sorting.html[/url] (scroll down to the section "Example: Sorting in two dimensions") Thanks, Suan | |
Hi folks, I was really excited to use lightwindow AJAX modules that it worked on local server. But once we made it live on our actual server, it's not rendering. It opens the AJAX window and makes the entire page black. Please see attached image for visual explanation. We are … | |
Hi everyone I've been looking at some code from the 'Ajax for Dummies' book (page 67). I'm running the code samples on an XAMPP installation with both files in the C:\xampp\htdocs folder which (appears) to have been set up as 'localhost'. However, there are 3 odd things about this code. … | |
Hi, N00b as I am, I have a little problem: I have a gamesite. When a user clicks on a game, a Js script has to check if he has our app installed and if not, it redirects him to our landing page, where he can install that app. This … | |
Is there a way to see why this particular javascript validator is not affecting the submission of this form. It submits with all fields empty. Here's the simple code [code=syntax] <?php if(isset($_POST["Submit"])) { require("c:\php\includes\class.phpmailer.php"); $mail = new PHPMailer(); $toaddress = "rocky@airedale911.org"; //Change this to the email address you will be … | |
Hello people i created this code: <script langauge=javascript> function baby(a,b) { document.p.text=a; document.p.cat[b].checked=true; } </script> <form name="p" > <input type="checkbox" name="cat[10]"> <input type="checkbox" name="cat[11]"> <input type="text" name="text"> </form> <a href="javascript:baby('Hello',10);">Click Here</a> when i click on The "Click Here" the textbox show me Hello but the checkbox doesn't work and dosen't … | |
Hi Everyone, I am Mahesh. I am new in Javascript. I am creating a web page using XSLT. But for that I need help for javascript. Problem Statement ***************************************** There are several <img>s in output html page. images id are randomly generated using xslt. in that img tag there is … | |
Hi, I have the string like [code]var test="<NewDataSet> <Table1> <S_x0020_No>1</S_x0020_No> <Defect_x0020_Causes>None</Defect_x0020_Causes> <Defect_x0020_Count>2614</Defect_x0020_Count> <Percentage>63.22</Percentage> <Cumulative_x0020_Percentage>63.22</Cumulative_x0020_Percentage> </Table1> </NewDataSet>"..[/code] So.i would like to convert the string into Xml document.. any idea.. Thanks & Regards, S.Sajan. | |
Hi and I am trying to embed a modified version of a javascript/css script from [URL="http://www.javascriptkit.com/script/script2/dbmenu/#"]http://www.javascriptkit.com/script/script2/dbmenu/#[/URL] but since have made a few problems. At the moment, my script is only compatible with Internet Explorer 7 (not compatible with earlier versions) and can anybody help me debug the top menu at … | |
I'm trying to create a website navigation with moving images. However, I seem to have a bit problems with it as it bugs out sometimes. This is my code: [code=javascript] <script type="text/javascript"></script> var goDownH = 300; var goUpH = 320; function goDown(id) { if(goDownH < 320) { goDownH = goDownH … | |
Guys, I was going through the book called Ajax for Dummies and got the following example. [CODE]<html> <head> <title>Ajax at work</title> <script language = "javascript"> var XMLHttpRequestObject = false; if (window.XMLHttpRequest) { XMLHttpRequestObject = new XMLHttpRequest(); } else if (window.ActiveXObject) { XMLHttpRequestObject = new ActiveXObject(“Microsoft.XMLHTTP”); } function getData(dataSource, divID) { … | |
well i dont preffer to add any code on here but heres my problem.. i'm using googles adsense and am trying to put a javascript banner on my website.. im using frontpage and i paste the scripting into the html and save and publish the site.. it shows nothing? i … | |
can anyone send me the javascript material or any link for material? | |
Okay, i just want to get this out of the way. I do know that this subject has been tackled a couple times and I'm not cutting to the end without reading what has been already written. I can't seem to find the explanation that i'm looking for and a … | |
I'm looking for a way to downsize the load of images on a page. My current template provides the user with a tab based option set for different items that can be ordered, the entire set is currently set as 1 form (i.e the quantity input fields), but on page … | |
Hopefully this is the correct place to post this, so here ya go. I'm learning HTML and just had a few questions. I was using some tutorials from w3schools.com, and I came across Event Attributes. So I have this textbox, and I want it, when clicked, to clear the the … | |
[CODE]<script> function asd(){ var msg = document.getElementById('email'); alert(msg); } </script> <form> <input type='text' id="email"/> <input type='button' onclick='asd()' value='<' /> </form>[/CODE] onclike return that message Object HTML Input Element | |
Hi , I work in software company as per my job i had to place Ad in one website, I was able to place Ads on the application by using IE Explorer but it coming error when i tried to place ad using mozila firefox,Can u pls help me |
The End.