15,127 Topics
| |
Hello, I've a question: I don’t know much, so please bare with me. [url]http://www.site.com/upload.html?dirname=abc[/url] I want this querystring value (abc) into <input name="dirname"> <script type = "text/javascript" language = "Javascript"> <!-- Hide from older browsers; { var qPos = document.URL.indexOf('?'); dirname.value = document.URL.substr(qPos); } // end hide --> </script> I … | |
I'd would like in a form with an input control, that the first autocomplete value is visible in the textbox instead of a blank field. Is it possible in javascript ? Thanks a lot | |
I am in a slight dilemma at the moment i'm not sure whether to go down the a+/mcse route or whether to take the CIW courses instead. I have been doing some research to try and find out about them I would appreciate any opinions you have on the CIW … | |
hi all I'm having an odd problem with Javascript. I created a table with a single row and a single column (and gave all of them IDs). Then I use onclick events to pick up mouseclicks and call the function `clicked(evt)`. I know this function is getting called, and I … | |
I've been searching around the web since I don't have my library of books available right now -- but here's my question... can I do a purely javascript session variable without the use of PHP, ASP, or anything else? Any good resource pages on that? I just need to do … | |
Alright - I'm stumped. I need to get a variable from file1.html to file2.php which is called like this from file1.html: <script src="scripts/file2.php" type="text/javascript"></script> In file1.html I have the variable definition to grab the referring URL - [CODE]<script> if (document.referrer) { var referringURL = document.referrer; } else { var referringURL … | |
Everyone knows yahoo mail. When you just logged on to your account you see on the page "[B]You have 0 unread messages[/B]". I just womdered is there any way how can i find something on the page using javascript and return as variable. So what i've done is: 1. I … | |
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 … | |
how can I store the value of a javascript variable in jsp session | |
Hello, I have a menu.jsp included in all the jsps. When I click a link in the menu it calls the respective page and the menu.jsp is also refreshed. I want to write a java script to highlight the menu link that was clicked. But since the menu jsp is … | |
I'm familiar with HTML and CSS, and have now started to learn PHP without running into any trouble, but I want to add Javascript to my knowledge. I tried a long time ago, and failed, for the same reason I'm failing now. Code that looks logical to me is not … | |
Hello! I need a script so that I can drag an object (picture) and drop it in another object (ex: basket). When I do that, I want to run an action. Do anyone know how I can do this... mabye some tutorial or code? Thanks for all answers!!!!! | |
Is there a way using javascript to change the display of a form after it as been rendered? I won’t to remove a checkbox on a form if a certain condition is true. Since this case is not the norm, the default rendering displays the checkbox even though it’s not … | |
Hello, I have this code: [code]<select name="product" class="buy"> <option value="products.php" selected>Select Term</option> <option value="products.php?item=1&term=1">2 Month</option> <option value="products.php?item=1&term=3">3 Months</option> <option value="products.php?item=1&term=6">4 Months</option> <option value="products.php?item=1&term=12">5 Months </option> </select>[/code] I need to make it so as soon as you click that select box, it loads the url (value)... if anyone can help me … | |
I am stuck. For some reason, my external css will only affect my links on my site. The color and hover color will change when i change it in the css. What is weird is the links are even coming from a php file <? require_once("NavigationTemplate.php");?> The problem is that … | |
I have created a progress bar .The Progress bar works fine. The only issue is that it flickers. I am not able to find out why that is happeneing. Can anyone tell me what is wrong in my code.Below is my code. <html> <script> var secondWindow = false; function ProgressBar(sLength) … | |
Hello, I have a javascript code (a part of it is in php) that populates a pull-down menu. It works perfectly well with Explorer, Netscape and Firefox under Windows. But impossible to make it work with Explorer or Safari under Mac!!! Is javascript different between windows and mac? Here's the … | |
How can i get the floating layer to stop scrolling at a certain point on the page so that it does not 'run into' my other elements on the top and bottom of the page. If you will look at my page: [url]http://increased-online-traffic.com/Big-Search-Engine-List-A.asp[/url] , you can see exactly what i … | |
Hello, I have a javascript code (a part of it is in php) that populates a pull-down menu. It works perfectly well with Explorer, Netscape and Firefox under Windows. But impossible to make it work with Explorer or Safari under Mac!!! Is javascript different between windows and mac? Here's the … | |
Well i should say i dont even kno JS and want to learn it. Can some one tell me some good books to learn JS for a newb person who you can take as a compleatly new to coding even thought i know some PHP. I have looked at some … | |
Im looking for a way to password protect pages on my site. ive found a few asp scripts only i cannot run asp through my host. is there an html or simple java solution? and also i want to disable the tool bars in ie. im going to have a … | |
i have 2 asp pages, one is an index that when you click the submit button, a pop-up window will appear. this popup window is an ASP Page that connects to a database.. how can i make this a pop-window? any help would be gratly be appreciated.. thanks | |
Hi there Gurus. I seem to have a problem in FIREFOX which does not appear in IE. Basically, I am trying to validate a form has only 10 numbers entred into the field (no spaces or any other characters). The following script works perfectly in IE but no dice in … | |
Hi I am trying to disable a dropdownlist in an asp.net web application whenever the selected index is changed. I have the following javascript in my web app but whenever it gets to the disabled = true line it is falling over. What I want to know is that the … | |
Hi all, I am new to Web programming, most of the time have done GUI development in C++/MFC and played a bit with Java/Swing. I have read about DHTML and its ability to enable interactive Web applications. Before delving into DHTML programming I would like to know what are the … | |
hi all im trying to add one more row to my table...... this row will have select button,text fields that would also be generated..... the Select list have to take values from variable in jsp page.......... please can anyone tell me how to do that......... i have also attached a … | |
Is there a way to validate an email by checking it's existence? | |
Hi all If I create a link that opens a new window, how do i make it such that when I click a link on this page in the new window, that link should open in the original window? I was guessing its using javascript. Any idea how? Thanks | |
Hello, I've been experiencing a big problem. When I log in to my yahoo mail and click on the 'empty' beside the 'bulk' button, it appears nth. I can clearly remember that it will show a text box showing a confirmation whether you are to empty the bulk folder, but … | |
Hi, I am not familiar with JavaScript very well, but despite the fact that where it says "enable" in "internet options" I checked the box, most of the sites still don't work. What could be the problem and how to fix it? THANKS in advance, -Roza |
The End.