15,120 Topics
| |
welcome every body this is my first post when i tried this code to accept multiple requests in ajax [URL="http://javascript.about.com/library/blajax13.htm"]http://javascript.about.com/library/blajax13.htm[/URL] it gives me error "get is not a function" please help:) | |
hello every one just want to know tips for how design maps like in the following web site [url]http://www.findaproperty.com/[/url] thanks in advance | |
How to toggle check boxes using JavaScript in Linux? I was able to do the same in Windows with the below code.... [code] function toggle_checkboxes(id) { if (!document.getElementById){ return; } if (!document.getElementsByTagName){ return; } var inputs = document.getElementById(id).getElementsByTagName("input"); for(var x=0; x < inputs.length; x++) { if (inputs[x].type == 'checkbox'){ inputs[x].checked … | |
Hello every one, i am new here so i would appreciate any help wit this. i am trying to call a url using javascript in an html select statement as follows; echo "<select>"; for ($i = 0; $i < $pages; $i++) { ?> <option value='' onClick='javascript:window.location.href= "index.php?option=<?php echo $option; ?>&task=view&limit=<?php … | |
I have some javascript that inputs a date into a textbox upon the selection from a pop-up calendar. I need to add a function call - GetSchedule() - within this calendar javascript code. My function will use the date that has been assigned to the text box so will need … | |
Hello every one, am called swit and i am new here. i luv programming and i luv this site. | |
Hi alll............. Please can someone help me to find a way to call for a c# function from a javascript which is in the web page of web browser included in a windows application....... Urgently need....... Please............!!!!!!!!! | |
How would this be written on .js file. I need to create a variable named dateString which is equal to the following text string: weekday, month, day, year. where weekday is the name of the weekday, month is the name of the month, day is the day of the month, … | |
hello, i have an online store and sometimes i have to close it for maintenance. when i close the store the visitors are redirected to a store_closed page where they read that the store "is temporarily closed for maintenance." i'm looking for a way to automatically redirect the visitors back … | |
Hi I want to make different style of alert box on my code So help me how to make user choice alert box. Thanq | |
Hi, Does anyone have a better idea of the ajax based login code, the one that does error checking etc, and also the member registration authentication. so far i have got an idea of the following!!! [code]function doLoginAction() { $filter = new Zend_Filter_Input($_POST); if (!($login = $filter->testAlnum('login'))) { echo "Login … | |
Hey Guys, I am frustrated with this matter and therefore need some help. I will try to keep this as simple as possible. I really need some help performing something that should be relatively simple in Javascript. I have a form which contains FOUR text fields (e.g. TEXTFIELD1, TEXTFIELD2, TEXTFIELD3 … | |
Hi, I managed to get the following script to work [code=html] <html> <head> <title>Adding and Removing Text Boxes Dynamically</title> <script type = "text/javascript"> var intTextBox=0; //FUNCTION TO ADD TEXT BOX ELEMENT function addElement() { intTextBox = intTextBox + 1; var contentID = document.getElementById('content'); var newTBDiv = document.createElement('div'); newTBDiv.setAttribute('id','strText'+intTextBox); newTBDiv.innerHTML = … | |
Hi, I need to get a table in javascript n i wrote this code: [CODE] //mainMenu is the table name var x = document.getElementById("mainMenu") //then i need to get it's left margin so i wrote var x = document.getElementById("mainMenu").style.marginLeft; [/CODE] But it is giving error that x is null. Can … | |
Hello I want that on the page visible to user, there is a text box, User can specify full path to an image in this text box, and once user clicks on apply button. then this image is set as the background image for a div How should this be … | |
Where the document is OBJECT or CLASS ?...................... | |
Hello! I'm just learning JavaScript and I was wondering if clients can view external JavaScript files? I would like to (potentially) use JavaScript to validate passwords to log into my site. Would this work/ is there a better way? | |
Hi, I have this form: [url]http://www.donorsforum.ro/forma_din_anunturi_ro.php[/url]. In the span field that looks like a textarea (Corp anunt) I can write in both IE and Firefox, but I can paste some text only in IE, in Firefox the box is just multiplying and remains empty. How can I fix this? I … | |
I have this code, I know it has ASP in it but the ASP isnt giving me the hard time, the javascript is (I think...). Right now users can use this drop down menu to get to a certain page, but instead i need to have them type in a … | |
Hi, I have this website which uses javascript to compute some mathematics... However, the script appear not to be working on firefox whereas the I.E and safari are working well, can someone help me with this, does Firefox have problems executing javascript? Thanks... the below code is where the problem … | |
I have a site under development that's going to use a JS-based drop down menu which will open when the visitor hovers over a single element called "menu" at the top of each page. Naturally the folks who have JS disabled are not going to be able to use this … | |
Hi, I have got an arraylist with Profile objects where each profile object has a HashSet of Customers and each Customer in Hashset has further a HashSEt of movies. I have got it in JSP page through servlet like [code]<% ArrayList profiles = (ArrayList)request.getAttribute("profiles"); %>[/code] now i want to access … | |
I am trying to insert numbers from a form into two different URLs, and then launch both with a single click. My problem is getting the numbers to insert correctly. Below is what I have attempted. [COLOR="Red"]+'document.myurl.book.value'[/COLOR] Can anyone help me with this? [url]http://www.biblegateway.com/passage/?book_id=[/url][COLOR="Red"]2[/COLOR]&chapter=[COLOR="Green"]7[/COLOR]&version=9 _____________________________________________________ [code]<form name="myurl"> <input type="text" name="[COLOR="Red"]book[/COLOR]" … | |
Hi everyone, I have three drop down menu naming client,project and activity. But I want that when i select item in first drop down menu clent then only that project should come whichever comes under that client category and after selecting client and project , i want there should be … | |
Hi, When the mouse is over the small image in a table cell, the large image appears in other cell. Code below works fine in IE but not in other browsers. How can solve this issue? Thanks [code] <html> <head> <script language="javascript"> function changeBgImage(whichCell) { if (whichCell=="small_1") { document.getElementById("large").background="1l.gif"; } … | |
[code=html]<html> <head> <script type="text/javascript"> function validate_required(field,alerttxt) { with (field) { if (value==null||value=="") {alert(alerttxt);return false;} else {return true} } }function validate_form(thisform) { with (thisform) { if (validate_required(email,"Email must be filled out!")==false) { email.focus(); return false; if (validate_required(city,"city fill it")==false) { city.focus(); return false; } } } } </script> </head><body> <form action="9.php" … | |
I have the code to show predictive text when a user enters a value, However I am struggling to change its behaviour. Currently it shows the suggestions seperately, I would like to alter it so its shows the value in the search box and then the user can select a … | |
Hi everyone, I have written some code in which i am taking some input like this date from and date to field. But this calender is open into IE and i am unable to open it in Firefox. I am using code like this------------- [code=html]<tr id="companyname"> <td style="display: none;"></td> <td … | |
Hello, I'm having a bit of trouble here. I want to have two input boxes for entering numbers, a select box, and a button - "Compute". The select box contains options for "add", "subtract", "multiply" and "divide". When the "Compute" button is pressed, I want it to compute the arithmetic … | |
Hi i had a big image in my web page. I need to do a preload in that image. Actually I am new to javascript. I tried many scripts but didnt work.. Please guide me ... Thanks Rajeesh |
The End.