20,316 Topics
In javascript we can swap only jpg images? Then what about the gif images. Please help me. By answering my first post so the second post will be solved automatically.
Hi, I want to know if it is possible for Internet Explorer to detect any action on the "Print Screen" key. The website needs its content to be secured as much as possible. The clipboard is being cleared for every fraction of a second, until this web-application is closed. There …
I have a function like this .. [CODE] function1() { if ( valuecboOrganization =="2" ) { alert(valuecboOrganization); fnGetDepartmentRequest(valuecboOrganization); return; } } function fnGetDepartmentRequest(organizationid) { debugger; Http.get({url: "../ajax/Process.aspx?organizationid=" + organizationid , asynchronous:false, callback: fnGetDepartmentRequest_callback}); } [COLOR="Red"]function fnGetDepartmentRequest_callback(Result)[/COLOR] { debugger; if (Result.readyState==4) { if (Result.status==200)// if "OK" { fnGetDepartmentRequestProcess(Result); } } } …
Hi, I need to get event handler's argument in Firefox3 - but it does not have any global 'event' variable like IE nor it passes an argument to the handler. How do I get this argument then??? [CODE=JAVASCRIPT] function doSomething(e) { if(!e) var e = event; //for IE alert(e); //It …
I use FP2000 as a html-editor. My navigation bars show hover buttons, but no way the cursor changes to a hand over these buttons. I tried several changes to the code but lack of knowledge keep me from results. A typical button in code looks like: [code=html] <applet code="fphover.class" codebase="./" …
This is the scrip, is working perfectly on IE but not on Firefox, can anybody help please, THX [code=JavaScript]<script type="text/javascript"> <!-- var sw_interval; var sw_x = 10; var sw_dx = 0; var sw_t = 10; var sw_cursor = 1; var sw_v; var sw_w; var sw_numItems; var sw_first; var sw_last; var …
Hey, Simple javascript problem: user enters desired domain name into "domain" field and submits, php scripts check if domain is available. If it is, a paypal add to basket button is written onto the page, however i cannot use php to get the content of the "domain" field and put …
Hi I am new to javascript. I have two drop downs used to reload the page displaying selected information. How do I get the OnChange function to pass year and user form the drop down. I also need to pass data in the array $month. [code] <html> <head> <body> <script …
I'm using Adobe Acrobat version 5.0, and even the simplest string functions aren't working. Let's say I have a field called "name" and I want to get the second letter in that field. The following code should work unless someone slipped a narcotic into my morning coffee: var f = …
Hello everyone i am new member,:icon_confused: If anyone can help me with my problem i would be very gratefull as i feel that i am stuck. I have started to build my first website using html and my first page is done and works fine. At this point i decided …
Hi Guys, As my ISP does support .asp but not CODOSYS, I was hoping someone might be able to help me convert this into simple .asp email script or something? [code]<% 'sets form variables dim sendtoemail, sendtoname, sentfromname, sentfromemail, messagesubject, messagebody, url, Email_SMTPAddress, Email_ServerComponent sendtoemail = request.form("sendtoemail") sendtoname = request.form("sendtoname") …
Hello, I have done this successfully in firefox, but I need to do this in IE now, I want to dynamically generate an id for my input elements for an element being created. So far I can't get the id to come out correctly, here is what I have: [CODE] …
Sorry for the long title, but i wanted a precise title. I am wondering if there is a script out there, or maybe simple settings that can be used to force links that start with the url of the originating domain to open in the same window/Tab. If am not …
Hi!!! I like to have a exchange Url in my site so that a user can add url to my site using a simple text box and then showing the url in main page. How can i do this ? thank's for help.
How to link the data using JavaScript in html.?
Hi, I'm trying to pass form values to my python script that's on the server. I don't have to return anything to the user. Just send the client side values. My page is a simple HTML page and on the click on button, a javascript function is called. This function …
Hi, I've successfully set up on my website the example geocoded googlemap with markers from here: [URL="http://code.google.com/support/bin/answer.py?answer=65622"]http://code.google.com/support/bin/answer.py?answer=65622[/URL] I now want to add a search box to geocode a typed in location, and re-center the map on that location. The following code works fine: [code] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 …
Hi all! I have a script with a form with: action="loadPhoto.php" enctype = "multipart/form-data" method="POST" an input type=file and a submit button. So when you click submit the php-script checks that the choosen file is a image-file and that the size isn't to big and saves it to server. When …
Hi, I have written a php/javascript code to check a database for a variable, which is 15 seconds to display something, or 30 seconds. Then it sends the variable to javascript to run the countdown. It works in firefox, but when I try it in IE7, the countdown starts at …
Hi All, I am thinking, it would be best to generate the complete Javascript Code for the navigation menu within a Java-Class and call this functionality out of the JSP page. To make it easier to maintain the menu-structure and all the therefore needed information, we had the idea to …
Dear Viewers, Let me say you a scenario where we do regular updates for our clients site or our site. After updation we clear the browser cookies or refresh the page atleast to view the updated changes, knowing already that the content has been updated. But how will the clients …
hi, iam having an application in which i need to validate all the fileds present above a particular field when user clicks on any field present in a page.similar to this link [url]http://my.naukri.com/manager/createacc2.php?othersrcp=5424&wExp=N[/url] is this possible using validator callout extender. can we use javascript to achieve this functionality. if thru …
just started playing around with CSS and find I have a weird little problem related to printing and hidden divs. a page contains hidden divs (hidden on screen) - the page uses a print css file so that these divs will be printed when the page prints there are also …
Hi All, I have just converted a few projects (Web Application, Web Service) to .Net 2005. The web application calls the web service using javascript from the client side. I am getting Error 401 - Unauthorized Access. I understand how to get around this error on the server side (i.e. …
hi, iam having an application in which i need to validate all the fileds present above a particular field when user clicks on any field present in a page.similar to this link [url]http://my.naukri.com/manager/createacc2.php?othersrcp=5424&wExp=N[/url] is this possible using validator callout extender. can we use javascript to achieve this functionality. if thru …
i am new to asp and i need to upload image?? so could somebody help me to handle this issue :( thanks a lot
hey guys, This question might be discussed over thousand times but please help me on this one! I have a customer registration (html) page on which I have included form level validations using java script. On click of the submit of this page control goes to regist.php where I run …
Hi, So I'm creating a website for clients that have tons of different courses available, they have opted to not place any course outlines within the site and instead, make the interested party request it via a email. Now, here is where my problem comes in, I would like to …
Hi all, I'm developing a drawing tool using Java. This will support drawing diagrams ( basically electrical components in a network ). As the drawing panel ,i have uesd a JPanel within JScrollPane so that user can scroll their diagram. The origin of my drawing panel is the top-left corner …
Hi guys, I am trying to make a javascript function that will add "000" to the end of a textbox value if the user presses k and also add "000000" if they press m. So i don't want the k or m to appear in the textbox and some 0's …
Hi! Could you tell me, if this is correct: onclick="javascript: if(!confirm('Confirm delete?')) return false;" Many thanks ;)
im working on this page where after theregistration page if there is any mistake the user should go back and make changes in the required fied ......the point is the other fields which have data shud be retained when he come back im using captcha in the page so using …
Hi, I have this application that logs call durations and allows user to enter details about the call. I am having a problem with the functionality in a peculiar case. The application validates inputs through JavaScript and prompts for errors through alert messages. The counter has been coded through a …
This is actually a combination js, php, htaccess question so it could go in either one of those categories. I, like every combo server/client/ajax programmer like to mix my php with my js. I'm just curious about something, I know that you can configure .htaccess to refer to new extensions …
We are creating one application in which we pick a form from other website and show it on our website. Once the user fills the form and clicks on submit data is submitted 3rd website. This requirement is one of our application specific. With help axaj we have done so …
Hi I have programmed a 5x5 'grid' of square buttons and need to store the buttons the user clicks on (in order) so that i can ask them to recall the sequence later. I think this requires server side scripting and installed XAMPP for PHP on my mac... I have …
Hi folks, quick question for ya. I'm working on getting a custom context menu to work in Firefox (it was written for IE with behaviors) and I can get the menu to pop-up, but i'm getting a javascript error when it does. (Also, nothing in the menu works, but I …
in what language a member registration window and member login window can be created on web page and what are the codes for tham
I want to send value from Asp textbox to Javascript function on Button 1 click how i can have that . pls help This is my code <head runat="server"> function callserver(txt1) { //Here i have to receive the value var nm=txt1 alert(txt1); } </script> <asp:TextBox ID="TextBox1" runat="server" Style="z-index: 100; left: …
Hi all, Can i know how to do the checkbox validation........ i used the code below but its not validating..... [code]var val; for(i=0;i<3;i++) { if(form2.elements['contype[]'][i].checked) val=1; } if(val==0) { alert("Select type of your Contract") return false; }[/code]
Hi All, I am trying to get this working. I have two drop down menus, you select one and the other is populated according to the selection from the first one. Now what I want to do is when selecting an item from the second drop down i would like …
I have this navigation bar with drop-down menu. It functions fine but the drop-down menu displays abnormally. Can anyone visit this URL and even view the source code of the Javascript and CSS? I need somebody to pinpoint the error. Your help would be much appreciated. The URL: [url]http://www.mexabet.com/index.php[/url]
Hi all, Can i know how to do the checkbox validation........ i used the code below but its not validating..... [code] var val; for(i=0;i<3;i++) { if(form2.elements['contype[]'][i].checked) val=1; } if(val==0) { alert("Select type of your Contract") return false; }[/code]
what is meant by the dialoge box sating java script turned off while searching videos on you tube...........?
[B]is it possible to submit a page without using a form[/B]
Hi there, I'm quite new to AJAX and need some help on a peculiar firefox behavior regarding forms submission. I have have an input field ...<td id="ajax_field"><input type="text" name="hobby"></td>... I am adding an option to change this <input> to <select> if the user wishes to choose from a list instead. …
hai all, in the parent window by clicking an anchor tag i am showing some data's fetching from the database in an iframe using get method.when we pass through the get method the datas may be hacked by the attacker.So how i can submit the iframe file from the parent …
Hi, I am trying to do with this code. . But i coudnt able to get it work. It like i embed a background(bg) music in html and also wrote a javascript to stop playing the audio. The script goes like this.. [code=html]<script language="javascript"> function stopAudio() { document.audio.play(false); // I …
I have a form on which there is a textbox for entering mobile number. Below this I have a check box saying 'Verify number' on selecting which user gets sms for validation code. Now on the update panel I have to show the textbox for mobile in readonly form and …
The End.