jquery x 2,329

20,316 Topics

Member Avatar for
Member Avatar for ghostrecog

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.

Member Avatar for ghostrecog
0
113
Member Avatar for clhari

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 …

Member Avatar for Troy III
0
1K
Member Avatar for willfindavid

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); } } } …

Member Avatar for willfindavid
0
132
Member Avatar for edek

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 …

Member Avatar for Troy III
0
118
Member Avatar for theobakker

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="./" …

Member Avatar for Troy III
0
167
Member Avatar for fifufifu

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 …

Member Avatar for Troy III
0
191
Member Avatar for MDGM

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 …

Member Avatar for R0bb0b
0
111
Member Avatar for assgar

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 …

Member Avatar for assgar
0
334
Member Avatar for frylock

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 = …

0
61
Member Avatar for jmwolv

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 …

Member Avatar for buddylee17
0
54
Member Avatar for steveg1965

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") …

Member Avatar for steveg1965
0
156
Member Avatar for adaykin

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] …

Member Avatar for adaykin
0
168
Member Avatar for charlesbw

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 …

Member Avatar for R0bb0b
0
91
Member Avatar for ctuga

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.

Member Avatar for jakesee
0
88
Member Avatar for pswati
Member Avatar for priyavardheesh

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 …

Member Avatar for buddylee17
0
123
Member Avatar for AikenDrum

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 …

0
75
Member Avatar for marcux

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 …

Member Avatar for buddylee17
0
147
Member Avatar for priddysharp

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 …

Member Avatar for shedokan
0
100
Member Avatar for Suneetha Reddy
Member Avatar for itsnexgen

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 …

0
70
Member Avatar for sTyleSHA

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 …

Member Avatar for sTyleSHA
0
275
Member Avatar for greeny_1984

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 …

Member Avatar for greeny_1984
0
159
Member Avatar for hav

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 …

Member Avatar for shellydsilva
0
131
Member Avatar for rairai979

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. …

Member Avatar for ratri
0
108
Member Avatar for greeny_1984

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 …

Member Avatar for ratri
0
80
Member Avatar for zanzo

i am new to asp and i need to upload image?? so could somebody help me to handle this issue :( thanks a lot

Member Avatar for ratri
0
176
Member Avatar for wdev

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 …

Member Avatar for wdev
0
157
Member Avatar for macneato

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 …

Member Avatar for buddylee17
0
98
Member Avatar for diasmvds

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 …

Member Avatar for Ezzaral
0
146
Member Avatar for hooray

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 …

Member Avatar for hooray
0
181
Member Avatar for e_velkova

Hi! Could you tell me, if this is correct: onclick="javascript: if(!confirm('Confirm delete?')) return false;" Many thanks ;)

Member Avatar for Thirusha
0
97
Member Avatar for ashercharles

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 …

Member Avatar for Shanti C
0
89
Member Avatar for bala24

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 …

0
55
Member Avatar for R0bb0b

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 …

Member Avatar for R0bb0b
0
131
Member Avatar for einfoway

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 …

Member Avatar for digital-ether
0
84
Member Avatar for makbot

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 …

Member Avatar for digital-ether
0
149
Member Avatar for jmasta

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 …

Member Avatar for jmasta
0
135
Member Avatar for shakti786

in what language a member registration window and member login window can be created on web page and what are the codes for tham

Member Avatar for peter_budo
0
25
Member Avatar for netprogramme

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: …

0
49
Member Avatar for ishlux

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]

Member Avatar for vicky_rawat
0
98
Member Avatar for myth3_16

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 …

Member Avatar for Luckychap
0
164
Member Avatar for mexabet

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]

0
67
Member Avatar for ishlux

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]

Member Avatar for Thirusha
0
73
Member Avatar for shijumichael

what is meant by the dialoge box sating java script turned off while searching videos on you tube...........?

Member Avatar for Thirusha
0
27
Member Avatar for php_azar
Member Avatar for jakesee

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. …

Member Avatar for jakesee
0
156
Member Avatar for php_azar

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 …

Member Avatar for R0bb0b
0
57
Member Avatar for tryphy

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 …

0
79
Member Avatar for dips255

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 …

Member Avatar for adaykin
0
121

The End.