jquery x 2,329

20,316 Topics

Member Avatar for
Member Avatar for Mortez Maya

Hi, I'm amateur in Ajax programming.:icon_smile: I wrote a sample project and did this : First I put three controls to the form (script manager, update panel and update progress) then I put two textboxes and a button to develop kind of login page. When button pushed, first I check …

Member Avatar for Mortez Maya
0
79
Member Avatar for bakshi123

Hi , I am developing a web page . For this i am using Javascript embedded in html. In the application ,the user can input data via interfaces in the page which is chosen and read from a master xml file , the chosen data then needs to be stored …

Member Avatar for Airshow
0
573
Member Avatar for bbqkaren

I have what I hope is a simple question. I found a js that does exactly what I want, except that I want the table 'closed' when the page is loaded, and opened when the +/- is clicked. I'd like this in Java. (assuming that non-java users would see the …

Member Avatar for bbqkaren
0
381
Member Avatar for warmath

Hi people!!! Why this little block do not work in Firefox? [code=html]<html> <body> <input type="button" value="teste" onclick="javascript:alert();" /> </body> </html>[/code] Thanks for any help. Best regards.

Member Avatar for ShawnCplus
0
55
Member Avatar for praveen_dusari

hi, in my shopping cart we have a phone orders and when user tells products we will click on that product and calculate the total and insert in to database my code is like [code=php]<table width="100%" border="0" align="left" cellpadding="3" cellspacing="1" class="borent"> <? $s=-1; while ($prow = mysql_fetch_assoc($pres)) { $s++; $item[$s]=$prow['p_id']; …

Member Avatar for noelthefish
0
106
Member Avatar for prax072

I am trying to dynamically populate a select box with Jquery and JSOn in my VB.Net ASP.Net application. The event is triggered in the selectedindexchanged of another ASP Dropdownlist in the page. I am getting my selectlist populated (thanks to [url]http://www.codedigest.com/Articles/jQuery/224_Building_Cascading_DropDownList_in_ASPNet_Using_jQuery_and_JSON.aspx)[/url]. i am passing two values to the select box. …

Member Avatar for prax072
0
188
Member Avatar for dragovian

hey, i am working on a webdesign for my boss and i was doing some scripting cause he wanted to be able to "zoom/enlarge" something using a simple zoombutton. the code i wrote works perfectly in firefox en safari, but in ie7 and ie8 it just doesn't :( [CODE=prototype]var checker=true; …

Member Avatar for Airshow
0
134
Member Avatar for Lolalola

What's wrong? Why don't work stop funkction? I think that the poor turn to the function, but otherwise I do not know ... [code=html]<html> <head> <script type="text/javascript" src="jquery.js"></script> <script> $(document).ready(function() { //Paleidimo funkcija var time_ref = setTimeout(function() { var time_ref2 = setInterval(function() { $('#time_now').load('time.php?id='+ Math.random()); }, 1000); }, 3000); //Laiko …

Member Avatar for essential
0
99
Member Avatar for solahere

I wanted to do some popon windows when someone hovers over something on my page... new_window = open("page.html", "displayWindow", "toolbar=no,width=600,height=300,directories=no,status=no,scrollbars=no,resize=no,menubar=no"); I can do that by opening a popup using the abovecode but it opens in a separate page... I want it to hover on top of the same page some …

Member Avatar for solahere
0
139
Member Avatar for Lolalola

Hi, with Mozila everything work, but with IE didn't work. Page didn't reload. What's wrong? [code] <html> <head> <script type="text/javascript"> setInterval("sendRequest()", 1000*2); function createRequestObject() { var req; if(window.XMLHttpRequest){ // IE 7, Firefox, Safari, Opera... req = new XMLHttpRequest(); } else if(window.ActiveXObject) { // Internet Explorer 6, 5 req = new …

Member Avatar for hengzhe
0
736
Member Avatar for jt3204

Ok, I will be honest - my first javascript challenge is a little hard, but has been handed down to me from my uncle. He doesnt know how to do it, and thinks a fresh mind might be able to make sence of it. Fresh meaning fairly new to js... …

Member Avatar for jt3204
0
147
Member Avatar for gilbertsavier

Hello sir, I have a problem with Javascript dropdown menus. There is a flash animation just below my javascript menu. When i hover on the javascript menu the dorpdown goes behind the flash animation. Is there any solution to rectify this problem? Thanks

0
58
Member Avatar for pradeepktg

Hi All, I want to use jquery overlay in one of my dynamic page. Well, let me explain the case in detail; Actually i have implemented in my site, but it works for only one id. Ok, here is the case (1)I have a news page, which is dynamically loaded(used …

Member Avatar for pradeepktg
0
90
Member Avatar for Studio

Hi there I have been searching round the internet for the last few days trying to find a tutorial that would help me make a contact form that then uses server side and client side code (PHP/Ajax) to validate the fields so that it is degradable if the user has …

Member Avatar for vinothkumar023
0
160
Member Avatar for php_noob

I saw a JQUERY that has FADE IN and OUT but what if I will need to fade in and out 3 images? is there available plugin for that? Thanks for the reply!

0
78
Member Avatar for neclark2

I'm having difficulty loading images via Ajax on a site that I've been working on. I'm performing the ajax by using the Request.HTML object of the MooTools framework. Basically, I'm just passing some parameters to a php script which outputs some image tags and then I insert that HTML into …

Member Avatar for essential
0
90
Member Avatar for HughLa

Ok I have been trying for hours and hours to stop my image upload script from uploading the same image whenever a user refreshes the page. I have tried unlink, unset and redirecting the user and back. It still won't quit. I have literally unset every single input element in …

Member Avatar for djjjozsi
0
89
Member Avatar for shella

Hi all, i'm blocked on a script php/ajax that manage dynamic select. To let me understand better here the link tutorial: [url]http://phpgon.com/ajax-php-dynamic-select-lists.html[/url] I take this little code part aboutthe file dynamic-lists.js where i'd like to pass another variable to the get-subcategories.php page and not only the variable idcategory. [code] function …

Member Avatar for noelthefish
0
138
Member Avatar for dwrakh

hi friends, am a student,pursuing my graduation in computer application... i am in my efforts to perform a coding for a chess game between two persons who play with each other from different computer systems through internet. i want to know about how i can code in such a manner …

Member Avatar for dwrakh
0
151
Member Avatar for muktidaniweb

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 …

Member Avatar for shahbaz5144842
0
155
Member Avatar for MarrkoR

Hi, I have problam whit jquery. Whit IE work everything OK(work fine), but whit Mozila or Opera i have problam: Hirs function "sec" work, fine, but secont in file index2.php "sec3" don't. index.php [CODE] <html> <head> <script type="text/javascript" src="jquery.js"></script> <script> $(document).ready(function(){ var sec = setTimeout(function() { $('#sec').load('index2.php?id='+ Math.random()); }, 1000); …

Member Avatar for hengzhe
0
105
Member Avatar for apollokid

Hey All im kinda new with javascript and I have a lil script made but need to add to it but kind of lost on what to do. Its a gallery that works fine but i have a part where there are two images a before and after. one image …

Member Avatar for essential
0
149
Member Avatar for SKANK!!!!!

i went to tizags ajax mysql tutorial(how to update mysql with ajax) i dont understand it seems like that example is wayyyyy too long i cant comprehend it it makes no sense. does anyone know of a good way to explain to me how to update / insert a value …

Member Avatar for essential
0
155
Member Avatar for Zurompeta

Hi all, Having an issue with "selectedIndex" (for a select field). Basically I'm creating XML code via a server-side PHP file and retrieving this code through AJAX. Once I retrieve the data, I'm placing it in their appropriate fields. This is the XML output: [CODE='XML']<response> <data> <row> <item>ProductEight</item> </row> <row> …

Member Avatar for Zurompeta
0
122
Member Avatar for jiwatramani

hello people, here is a piece of AJAX that i have used in my JS file. It's working fine with IE but somehow the page does not load in Firefox. [CODE]function secondRead(){ if(xmlHttp.readyState == 4){ if (xmlHttp.status == 200) { try{ var status = xmlHttp.responseText; alert(status); status = status.split(":")[0]; status …

Member Avatar for ivannz
0
132
Member Avatar for whatshakin

Hey I have a div on the left of the screen to invite your friends. I am having trouble find a simple script where when I click on the div, the link works but then the div moves offscreen. [url]http://alturl.com/4iai[/url] Here's the div: [CODE]<div class="inviteTab"> <a href="importer/index.php" rel="gb_page_center[750, 500]" title="Your …

Member Avatar for Luckychap
0
70
Member Avatar for jimmy2b

i am trying to create a multiple choice question(mcq) on the web i wrote the code for the question page...but i dont know how to store the result that the user gives so that there can be an analysis of his/her mcq test...and according to which their result will be …

0
43
Member Avatar for blessanm

I have a problem. I have a page with a default avatar image and a input box below it. Its a form. The thing i want to do is that, i want the default avatar image replaced after a user selects a image from the input tag. my code is …

Member Avatar for ivannz
0
3K
Member Avatar for Shaznew

Hi, I need to capture the delete key event onclick on DIV. I wrote the below code using jQuery. [code]$("#DIVID").keydown(function(event){ // delete key works with IE if(event.keyCode == 46) { // delete code goes here }[/code] This is working fine in IE but not on Mozilla, Safari. Please do the …

Member Avatar for essential
0
144
Member Avatar for Zurompeta

Hi all, Having a strange issue here. To help explain my situation, I have some images I'd like to include. This first image is of one of two user input forms. Notice in the top left of the picture, the second tab is selected. [IMG]http://www.abexal.org/image_1.jpg[/IMG] The arrow is pointing to …

Member Avatar for Airshow
0
234
Member Avatar for Auch

This is kinda driving me crazy, maybe its just one of those days. I have this If loop that I feel like its extremely redundant but I cant find a way to make it shorter [CODE]function validateYear (valfield, infofield, required) { var stat = commonCheck (valfield, infofield, required); if (stat …

Member Avatar for Airshow
0
110
Member Avatar for xyciana

Can anyone help me and provide a way to list files in a directory using javascript. This is on the server (NOT CLIENT). For our purposes we have built a simple search facility (that all we need) and the code takes data from an array. All we want to do …

Member Avatar for ShawnCplus
0
99
Member Avatar for ivannz

Hello, everyone! I'm fairly new to this forum, but I spent some time mining it for information. Unfortunaltely, as far as I have searched it I was unable to find an answer to my question. Googling hasn't satisfactorily answered my question also. Here's the goal: [LIST] [*]- user fills in …

Member Avatar for almostbob
0
2K
Member Avatar for nostalgia149

to start with .. lemme ask u .. whether i can use <?php ?> inside <script ></script> anywhere and also if i can use html tags there?????????????????????????

Member Avatar for Member #120589
0
63
Member Avatar for OmniX

I would like to know how to display XML in a browser. Also if possible to maniuplate the XML elements. Havent touched based with XML in awhile and still abit rusty. Thanks, Regards X PS: Below is the listed code and below is the wished output. Code : [code] <?xml …

Member Avatar for OmniX
0
2K
Member Avatar for GregStoltz

Hey everybody :) So im new to programming and im using the jDateChooser from the com.toedter.calendar package the problem that I am having is that I am not able to get the current date to display ... you have to just select the date yourself ... can anyone give me …

Member Avatar for quuba
0
213
Member Avatar for tdeck

I'm trapping the onKeyPress event of a textarea, and I'm wondering if there's a way to prevent the key from also being typed into the textarea if it's a certain key. I have tried stripping off the last character from the value property, but it seems that the character is …

Member Avatar for tdeck
0
99
Member Avatar for greenglow

We're working on finishing this website on our staging server. [URL="http://alias-dev.com/bidwelladvisors/"]http://alias-dev.com/bidwelladvisors/[/URL] We're using Moo Tools BySlide accordion menu [URL="http://www.byscripts.info/scripts/javascript-dynamic-accordion-menu"]http://www.byscripts.info/scripts/javascript-dynamic-accordion-menu[/URL] On initial page load the slider comes in slowly and one sees theb different elements separated in a column. Afterwords it is fine. Anyone have any advice on how to make …

Member Avatar for greenglow
0
122
Member Avatar for solahere

I wanted to do some popon windows when someone hovers over something on my page... [ICODE] new_window = open("page.html", "displayWindow", "toolbar=no,width=600,height=300,directories=no,status=no,scrollbars=no,resize=no,menubar=no"); [/ICODE] I can do that by opening a popup using the abovecode but it opens in a separate page... I want it to hover on top of the same …

0
71
Member Avatar for RobotFX

I'm looking for a popunder script that will work for both IE8 and FF3 (as they dominate now). Of course, any other browser is welcome :) Note: I've also tested the flash but I've excluded it from the start, since the flash player is enabled by default to block them. …

Member Avatar for clivexxx
0
161
Member Avatar for zuve_fox
Member Avatar for DangerDev
0
57
Member Avatar for VinayRok

Hi friends......... Am using a one Textarea and Text box and a Button in my application.. whenever i write a text in textbox and click on the button . textbox value is copied to Textarea... This logic i have written in Button_Click event. Now in an situation i dont want …

Member Avatar for kameswari
0
269
Member Avatar for aparnesh

I have created a timer function using setTimeout. The function works perfectly in IE and Opera but doesn't work in FireFox or Netscape 6. I checked out my Javascript book where it says setTimeout is compatible with all browsers. So where am I going wrong ? [CODE]function showPics() { if …

Member Avatar for Nine of Hearts
0
534
Member Avatar for ablitz

Hi Everyone! I'm currently working on MySQL/PHP/JavaScript project using AJAX. I came across some weird abnormality and wanted to share with you and hopefully find a solution to this problem. for some reason alert(textarea2); shows nothing but if I place another alert(textarea2); right after the first one it works, second …

Member Avatar for ablitz
0
316
Member Avatar for rockbluster

Form wouldn't submit and keep popping out. "Not all fields are valid". [CODE]<script type="text/javascript"> dojo.require("dojo.parser"); dojo.require("dijit.form.ValidationTextBox"); dojo.require ("dijit.form.Form"); dojo.require("dijit.form.CheckBox"); dojo.require ("dijit.form.FilteringSelect"); dojo.require ("dijit.form.TextBox"); var valid = true; function checkPw(formFields) { //alert (formFields.uPass); //alert (formFields.uPass2); if (formFields.uPass !== formFields.uPass2) { alert("Confirmation password is different."); valid = false; } return valid; } …

Member Avatar for rockbluster
0
87
Member Avatar for sparf

hey all, been a while since i was this stumped. i have main.php which calls in an iframe child.php child.php is only a table it has lots of TDs in it. now what i want to do is to have a button on main.php that when pressed creates an XLS …

Member Avatar for sparf
0
97
Member Avatar for karin21

hi, i have a script here which display an item name from database into textfield based on the combo box selection, i cn display the item name but my problem is i dont know how to display the item information into the textbox? i'm required to use php but i …

Member Avatar for karin21
0
2K
Member Avatar for cosmicgirl

I have become quite frustrated with using lightwindow but am rather locked into it right now. I have 2 issues with my photo galleries. 1. The overlay does not work at all in FireFox. No darkened overlay over page. I have tried to check all my javascript and css and …

Member Avatar for cosmicgirl
0
87
Member Avatar for Matsui

i know that there is a mailto: script to use but it is unsecure and all that, so what would be the best way to go about sending form information to an email address in javascript?

Member Avatar for essential
0
168
Member Avatar for phant0m67

hi im trying to parce a XML that is generated by a php page, the problem is that when i try to get the elements on that XML, the browser says that my variables (dado) are undefined.... any idea how to solve this? [code] function leValorXML(xmldoc, tag){ var dado = …

Member Avatar for essential
0
132

The End.