15,120 Topics
| |
Loading Page in Specific Div using AHAH - http://microformats.org/wiki/rest/ahah but unable to execute script Main.html <html> <head><title>Main Page</title></head> <script type="text/javascript" src=GetPage.js> </script> <body> <form method=get onsubmit="load('History.html','GetDiv'); return false;"> <input type="text" name="quota" value=""> </form> <div id="GetDiv"> </div> </body> </html> GetPage.js function ahah(url,target) { document.getElementById(target).innerHTML = 'loading data...'; if (window.XMLHttpRequest) { req … | |
Hey, On a site I'm developing there is a separate Javascript file loaded when users are logged in as admin, for the sake of this I'll call it admin.js. This file contains a function called adm_linkify(); which adds 'Edit This Content' links to certain elements. There is also a main … | |
| Hi I have a JavaScript function for swapping the values of rows in a table. I have a hidden field in each row to carry a record ID. As I switch the rows the function will update the hidden field but doesn't do it correctly if I switch a number … |
Hi there: I have a couple of scripts below where I have one issue as follows: I have a photoSlider div with my images changing in it from my function called `slideIt()`. This function displays the images in the div and should allow you to click on them replacing the … | |
good day! when i click a button, this codes will be executed (tested, its working) var cart=document.getElementById('cart'); cart.innerHTML=cart.innerHTML + document.getElementById('name'+cartNum).innerHTML + "(" + qty + ")" + "<br>"; this is the style of my cart } #cart { overflow:auto; border:solid; height:500; margin-left:10px; margin-right:10px; margin-top:20px; margin-bottom:0; font-size: 12px; text-align: left; font-family: … | |
Hi there: The code below lays out 3 divs, the 1st. div contains a slideshow, the 2nd. div is a container for the 3rd div which contains buttons to override the slideshow and replace it with a new image in the slidshow div. All the above scenario works perfectly. Where … | |
I have implemented a feature that works in firefox and opera, but doesn't work in IE -- it is the css opacity setting. I am overlaying translucent divs over a jpg image. Do I need to use javascript to fix this for IE ? [URL]http://listenlight.net/05[/URL] is the page I'm working … | |
Hai I am trying scrolling of images as like ([url]http://www.dynamicdrive.com/dynamicindex2/crawler/index.htm[/url]). I do want to set border for the images with border property as "2px solid #000" and i do want gap between the images so that the horizontal gap value is 20px. I tried even with image border propoerty and … | |
how do i limit this textfield to three words? [code]<input type='text' size='40' name='search' style='font-size:16px; font-family:Arial;font-weight:bold;' />[/code] i only want three words to be allowed entered. | |
I want to provide sitemap with scrolling of images. I'm handling the method for scrolling image as in "Text and Image Crawler" of Dynamicdrive.com ([url]http://www.dynamicdrive.com/dynamicindex2/crawler/index.htm[/url]). I've just changed the images and added a click event for images. The crawler.js is the same as in the "Text and Image Crawler" of … | |
Hi im zee and i'm new to javascript.. The javascript function below..examines if a string value contains only numbers.. My problem is..I can't figure out why it doesn't continue with the 2nd loop and iterate j..please help.! [CODE]<script language="javascript"> <!-- value = "23e"; isNumber(value); function isNumber(value){ document.write('I'm inside the function … | |
After weeks of getting a javascript to work the way I want it to, I am informed by the company that hosts my web sites that they want more money for me to have the .js file functional on the server. I am not a coder, nor do I have … | |
Hi, I have a hidden DIV, which is going to cover all of the screen as part of a lightbox. I wrote my code based on what I found at docs.jquery.com/Tutorials:Basic_Show_and_Hid . When I click on the link to run the lightbox, the div isn't showing even through the z-index … | |
[B]INTRODUCTION[/B] Have you ever wanted to pass data from one web page to another when server-side scripting is unavailable, and without setting a cookie? Ever wanted an efficient way to build url query strings? Well now you can. [B]SOLUTION[/B] It is maybe little realised is that data can be successfully … | |
I've been having trouble with a seemingly simple function...I have a form where 3 of 5 field values are generated by a script tied in with Google Search (like a business address). The user is prompted to enter their business license #, and as soon as the input field has … | |
Hey, how's it goin I'm trying to write a simple if statement with jQuery...it looks like this [CODE] if ($('#title .general').length == 0) { function() { $('#ubi').empty(); $('#address').empty(); $('#city').empty(); $('#region').empty(); } } [/CODE] First off, i'm getting an error in firefox that has "syntax error" function( ) { } -----------^ … | |
Hi, Everyone!! I'm really new in this business and I've been having some trouble with these errors: ====================================================================== Message: Object expected Line: 1 Char: 1 Code: 0 URI: [url]http://www.myblog.com/successblog/[/url] =================================================================== Message: Expected '}' Line: 707 Char: 301 Code: 0 URI: [url]http://www.myblog.com/successblog/[/url] ================================================================== Message: Expected '}' Line: 738 Char: 301 Code: … | |
I want to matching addresses, without necessarily displaying them on a map by using Google MAP. For example : [CODE]<input type="text" name="drop-off" id="drop" style="color:#666666"/>[/CODE] the customer will enter like this in the texe field : 10 Abbe......., then autmatically the address appear like this for example 10 abbey st and … | |
i presently have a text area which is generated using two arrays.It is loaded at the screen load. It is as following. var channelsGroups = new Array(); var channelsChildren = new Array(); channelsGroups[0]= new Array('Mars Public', 'MARS-PUB'); channelsChildren[0]=new Array(); channelsGroups[1]= new Array('Mars Private', 'MARS-PRIVA'); channelsChildren[1]=new Array(); channelsGroups[2]= new Array('Internet Booking … | |
Hi, I'm sure this should be easy, but just can't work it out. I have a select dropdown with several options. The user selects an option and fills out the following few fields. If the user then changes his mind and changes the option in the dropdown, I want all … | |
Am developing a web application how can I automatically capture my users gps coordinates when they have filled in their location address on the fly. thx | |
Hello, Can any one please help me to know how can we highlight the required fields using JQuery? For Ex. I have a form with several fields on it. In that there are 2 required fields. Now, if the user leaves these fields empty those textboxes should be highlighted in … | |
How to get the ful path of a file during file upload in google chrome.. i am getting only the file name and not the full path... plz help me to fine the solution Very urgent................ | |
I am trying to create a music web player that changes song automatically, however the song is instead repeated and whenever next is click, and some codes are executed to stop the current song and start the next, the current song pauses for about 1 sec instead... can some please … | |
Hi, I am looking to be able to display errors from my forms or whether the email address is already taken on the same page. My script is shown below: [CODE] if(isset($_POST['subregister'])) { require_once('../sign-up/recaptchalib.php'); $privatekey = "Hidden"; $resp = recaptcha_check_answer ($privatekey, $_SERVER["REMOTE_ADDR"], $_POST["recaptcha_challenge_field"], $_POST["recaptcha_response_field"]); if (!$resp->is_valid) { // What happens … | |
there is table : <table> <tr bgcolor="F3F3F3"> <td align="right" width="240" class="tickerSm">reportdate</td> <td align="right" width="65" class="tickerSm">10/31/09</td> <td align="right" width="65" class="tickerSm">10/31/08</td> <td align="right" width="65" class="tickerSm">10/31/07</td> <td align="right" width="65" class="tickerSm">10/31/06</td> <td align="right" width="65" class="tickerSm">10/31/05</td> </tr> <tr bgcolor="ffffff"> <td class="tickerSm">Cash & Equivalents</td> <td align="right" class="ticker">2,493</td> <td align="right" class="ticker">1,429</td> <td align="right" class="ticker">1,826</td> <td align="right" class="ticker">2,262</td> … | |
Hi all. I've tried to make a simple hover effect about small images but it won't work. I also tried to make the following script: 2 seconds after page loading image1 changes 2 seconds after that image1 returns to back state and image2 changes and etc. Can someone help? Best … | |
Can anyone tell me how to position the mouse cursor at the beginning of some text I have inside a text input (some hint words in italics), instead of at the end of the words? It's one of those text hints that will disappear once the user begins typing. I've … | |
Hello. I have a search engine form that is not ajax and it refreshes the page on search. I was wondering if it is possible to type a onclick code where it will contain my php script for the search engine by when you search, it'll send show the result … | |
I have spent days trying to get this web page to function as intended. If I have the .js in a separate file and reference it from the web page <head>, the page works fine. However, once it is embedded instead, nada. This is the entire web page coding, including … |
The End.