15,113 Topics

Member Avatar for
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
91
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
722
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
133
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
50
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
82
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
67
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
80
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
137
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
97
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
139
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
144
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
100
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
119
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
62
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
128
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
200
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
96
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
78
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
58
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
89
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
65
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
150
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
77
Member Avatar for zuve_fox
Member Avatar for DangerDev
0
48
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
514
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
291
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
158

The End.