15,700 Topics

Member Avatar for
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
727
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
138
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
53
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
85
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
68
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
82
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
143
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
99
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
142
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
149
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
101
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
122
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
63
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
134
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
205
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
100
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
81
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 diafol
0
62
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 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
91
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
67
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
153
Member Avatar for morecrab

Hi all, I had a problem with this html. Its name is index.asp. [CODE] <form action="index.asp" method="post"> <input type="submit" name="previous" value="prev"> <input type="submit" name="next" value="next"> </form> [/CODE] The problems is, [INDENT]I don't know whether i push the prev button or the next button.[/INDENT] How i will know that ? --THanKs …

Member Avatar for alexhernandez
0
78
Member Avatar for zuve_fox
Member Avatar for DangerDev
0
51
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
518
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
296
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
160
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
124
Member Avatar for laghaterohan

Hello, I have written a javascript function for email validation . On the click event of the validate button am calling the function however, the function is not called and returns nothing....so please help me out....plz help me out and do let me know where am going wrong...! here is …

Member Avatar for kvprajapati
0
188
Member Avatar for DealthRune
Member Avatar for DealthRune
0
269
Member Avatar for samarudge

Hi, I have used AJAX lots before and I wondered if it was possible to set variables from an AJAX file E.G. an ajax file could set var set1 = 10; var set2 = 55; with both variables coming from an external file called by AJAX Could you tell me …

Member Avatar for Airshow
0
130
Member Avatar for napsternapster

Hi ppl, I have a select dropdown which has two events an onchange and onkeypress. My problem now is when I use the keyboard arrows to select an item from the list in a select drop down the onchange is selected(invoked) before I even reach the second item in the …

Member Avatar for essential
0
125
Member Avatar for Lolalola

hi, i use AJAX, framework - JQUERY. Now all information show in one table( <div id = "user">). [code] var user= setInterval(function() { $('#user).load(user.php?id='+ Math.random()); }, 5000); user.php: $rez= mysql_query($sql, $db) or die("Error"); while($r = mysql_fetch_array($rez, MYSQL_ASSOC )){ $name= $r["name"]; $time= $r["time"]; [/code] But how make this: $name show in …

Member Avatar for Lolalola
0
440
Member Avatar for sbhalla15

Hi there: This specific to the messages posted by members for various sections on this forum. when I read through the message text, and if the member has typed in some link of other site, on mouse over of this link i see small image of the link contents. I …

Member Avatar for sowjanya.gutla
0
274
Member Avatar for Zurompeta

Hi all, I'm creating a fairly large web-application that uses a reasonable amount of AJAX. My question is; will it cause problems (in terms of process speed, overall performance and most importantly if it's actually possible) to run this application from multiple computers? Primarily if, for example, two separate computers …

Member Avatar for Zurompeta
0
104
Member Avatar for mortalex

God i'm having a terrible time trying to do this. Does anyone know how to set a javascript variable as a query result from a MySQL database. As an example, like this: Set this query: [CODE]$query4=mysql_query("select price from pricelist where item='$result3[item]'"); $result4=mysql_query($query4);[/CODE] into a variable: [CODE]var price[/CODE] i just can't …

Member Avatar for deMechanico
0
4K
Member Avatar for napsternapster

Hi, I'm creating a dynamic site but now I'm coming across a problem when I'm displaying input textbox.The textboxes uses two events onblur and onkeypress These two events they invoke the same function which suppose to determine the function must be executed between Shownext() and tabbackorFront() When a use uses …

Member Avatar for Airshow
0
763
Member Avatar for chiwawa10

Hi all, I am having trouble trying to load contents on a tab in accordion on the fly. Which means, the content for a particular tab will only be loaded and displayed when user click on it. Is there any example available? I am still trying it with Ajax. I …

Member Avatar for ayesha789
0
80
Member Avatar for laghaterohan

Hello, I have written a javascript function for email validation . On the click event of the validate button am calling the function however, the function is not called and returns nothing....so please help me out....plz help me out and do let me know where am going wrong...! here is …

Member Avatar for kvprajapati
0
107
Member Avatar for alphabetical

I am using the below pre-built script for my mouseover images: [code] <script src="js/chrisdomroll.js"> /**************************************************** * DOM Image rollover v3.0: By Chris Poole http://chrispoole.com ****************************************************/ </script> [/code] And it works on the page simply by adding the following attribute to the image tag, with the behind being the mouseover image's …

Member Avatar for alphabetical
0
146
Member Avatar for Reliable

In other words, can I do this.. [CODE]<cd> <artist>Angella Christie</artist> <album>Hymn & I</album> <song>Blessed Assurance</song> <genre>Gospel Jazz</genre> [COLOR="Green"]<image> http://ecx.images-amazon.com/images/I/41TQV56BH0L._SL160_AA115_.jpg</image>[/COLOR] </cd>[/CODE] I'm asking because when I press "Get Schema" Dreamweaver gives me an "Expected entity name for reference(13,16). The "image" tag line is line 16.

Member Avatar for Reliable
0
72
Member Avatar for charliesindex

Hi, I am quite new to web development. I wrote this script to display current weather it works fine locally. But not able to run on my web server - I get "Access Denied error". Can anyone help? or suggest a better way to get yahoo weather on my web …

Member Avatar for essential
0
140
Member Avatar for chuffman

Hello, What I am trying to do is show or hide a div when a user clicks the link, but I have multiple divs that belong in the same place so when the user clicks a link it needs to hide the current div, if there is one, and then …

Member Avatar for chuffman
0
109
Member Avatar for w33n

Basically I'm having trouble getting it to work. The instructions aren't really clear at all on [url]www.stickmanlabs.com[/url] . I've got thumbs. I can get them to work individually, but the next and back buttons to the next image isn't working. Can you help me? thx. b

0
67
Member Avatar for zachabesh

Hey all, I'm working on a project combining a javascript bookmarklet and a php script that lets users mail the url of the site they are currently browsing to their email address. I had a PHP issue solved over in the PHP forum: [url]http://www.daniweb.com/forums/thread202375.html[/url] But now I have a new …

Member Avatar for codejoust
0
124
Member Avatar for solahere

THis is really silly but nevertheless... I was wondering what does the <Option Selected ...> in the drop down list mean? Does it mean that the indicated option is selected by default? I just wanted to confirm cause even if I remove the "Selected", it still shows the same option …

Member Avatar for Airshow
0
56
Member Avatar for Menster

Hi there, Does anyone know how to force Internet Explorer to refresh it's results from an AJAX call? I might be doing something wrong but here is my problem: I use Ajax to present a form containing price values of a product from a database, where they are presented in …

Member Avatar for prime1999
0
139
Member Avatar for blackcorner

How can I create a white loading page like GMail, and when the content of the page is loaded then replace the white page with the original one. I'm using ASP.NET with jQuery. Thanks in advance.

Member Avatar for Ramesh S
0
69

The End.