jquery x 2,329

20,316 Topics

Member Avatar for
Member Avatar for anatta

Hi guys, I'm trying to write code where an ajax function, at a specified interval, calls php script to query a table and open a certian window according to the response(variable) received. After that, the ajax function will continue to call the same php script but will open another window …

Member Avatar for anatta
0
317
Member Avatar for 3000MAN

Getting to the poiint; I have a 'index.html' document that creates 3 iframes, each within a row of a 1 column, 3 row table. So I have a top (frame1), middle,(frame2) and bottom(frame3). Frame1 src="header.html" is a descriptive banner. Frame2 src="Start.html" is where the real application does all the work. …

Member Avatar for 3000MAN
0
248
Member Avatar for AliHurworth

Hi all, I have a div I would like to show and hide. I've used a script before which works, but now reusing it I can't make it fly. As I can't see where I am going wrong, can anyone else help? This is the one that works: [CODE] <!--script …

Member Avatar for AliHurworth
0
162
Member Avatar for AliHurworth

Hi all, I have a div I would like to show and hide. I've used a script before which works, but now reusing it I can't make it fly. As I can't see where I am going wrong, can anyone else help? This is the one that works: [code] <!--script …

Member Avatar for Will Gresham
0
156
Member Avatar for rattcod

hi i have a problem in running javascript code between jsp page.. lets below is my jsp body . [code=jsp]<body> <script language="javascript" > alert("hi"); </script> <h1>hello</hello> <% System.out.println("hello"); %> </body>[/code] in the above code there is no problem in running javascipt .. it gives hi alert easily but.. for below …

Member Avatar for rattcod
0
177
Member Avatar for digtokiller

Hello. i use this script to my mediaplayer on my website. but the fullscreen button is not working. can anyone come with anything there can help? [CODE]INPUT TYPE="BUTTON" VALUE="Play" OnClick="Player.URL='my\music\song.mp3'"> <INPUT TYPE="BUTTON" VALUE="Stop" onclick="Player.controls.stop()"> <INPUT TYPE="BUTTON" VALUE="Pause" onclick="Player.controls.pause()"> <INPUT TYPE="BUTTON" VALUE="Full Screen" onclick="if(Player.playState == 3) Player.fullScreen = 'true'"> <p></p> <script …

0
63
Member Avatar for matthewcar

I am developing a website in ASP.net and I would like to be able to track the mouse movements whilst a user of the site is browsing pages on the site and be able to store the duration in seconds of how long the cursor is left in specific areas …

Member Avatar for ITSVPS
0
236
Member Avatar for network18

Hi, I have a simple vote up and vote down feature, which on clicking calls a js function and increments or decrements the counter variable accordingly. But i have an issue, some malicious script just executing the script to incrment the counter by vote up. I am not allowed to …

Member Avatar for network18
0
112
Member Avatar for DealthRune

This is a nice and easy table editer. Use it to add and delete cells, rows, and a caption

Member Avatar for Jonh S. Brown
1
166
Member Avatar for Confused@JS

Ok I am having a lot of trouble making my Nav bar stay fixed in the upper left corner. Every time i scroll down the nav bar follows down the page. I need some help here is the JS but iam not too sure if my prolbem lays in the …

Member Avatar for FourPart
0
252
Member Avatar for Toxikr3

Hi guys, I asked a friend to try and hack my site to see how safe it is. He hasn't been able to get to the database or do any serious damage but he has used JS Injection to block my strip_tags(); function. I would like to know how to …

Member Avatar for Frement
0
126
Member Avatar for nilesh.shinde

I am a newbee to JavaScript was was just fiddling around with events for a browser... Is it possible to detect the browser process termination done through the [B]Task Manager[/B] in windows. [B]Process:[/B] 1. Goto Task Manager 2. Right click on the browser process e.g. iexplorer.exe 3. Select "end process" …

Member Avatar for nilesh.shinde
0
254
Member Avatar for darkRoom

My website I'm building has various image Arrays, I have JS code passing data so an image in 1st page exp:[image5] loads into 2nd pages Array as [image5], it works in all browsers except Firefox where 1st page reloads to [image1] in 1st page Array. Being a newbie I can't …

Member Avatar for Airshow
0
203
Member Avatar for just_me

hi guys.. I have problem regarding my project. I have drop down menu which contains of maximum and minimum. I want it if user choose maximum, the description (located in the table in same page) will be change to "larger is better" and if user choose "minimum", the description will …

Member Avatar for just_me
0
78
Member Avatar for Junian

Hi all I am a newbie to Ajax and Javasript. Please help me out... I am using Ajax and Javascript to show real-time data on the web page. On my web page, a 4-digit number is displayed in a text box and this number updates every 10 millisecond automatically to …

Member Avatar for Junian
0
133
Member Avatar for j_limboo

I am newbee to javascript wanted help! I have google, yahoo, bing results to open in a frame without my domain name changing. The results for the query is shown in iframe. The results can be anything any domain. I am trying to see if javascript between those open and …

0
78
Member Avatar for bingot

hi there . im new here and also in developing a site using php. if could anyone give me an idea for for adding a textarea after a others value was selected on select(dropdown) ohh i can explain it clear. ok im just gonna give a sample [url]http://ph.jobstreet.com/myjobstreet/registration.htm[/url] when you …

Member Avatar for muralibobby2015
0
148
Member Avatar for kreshan_489

Hello everybody, name's Thyaga and am currently a second year student at uni. I learning a number of languages such as Java, Python, C, C++, working with OpenGL and Maya, Wed Design(HTML, Javascript etc...). Am not pleased with my modules specifications because we are just learning basics right now, so …

Member Avatar for surindersharma
0
67
Member Avatar for rickya100

Hey everyone, The problem I'm having is regarding trying to persist a users search selection. For example a user searches (for holidays) on the homepage. I would like the search box which is displayed on every page to hold the values of the previous search which are persisted in a …

0
153
Member Avatar for Rezant

I have been attempting to write an auto-login code for some websites that I frequent, but one of the website's forms has an odd submit button. Instead of being the usual button that you can call by it's Id it's instead a link. I was actually wondering if I could …

Member Avatar for kabuchanga
0
656
Member Avatar for eantz

Hi, I want create a page which has animation at the bottom of that page. I use jQuery to do that.. this is the way I do it [code=html] <a href="#" class="animation">Animate this</a> [/code] and this is the jquery [code=javascript] $(document).ready(function() { $('a.animation').click(function(e) { e.preventDefault(); //animation goes here; }); }); …

Member Avatar for eantz
0
198
Member Avatar for colerainescotty

Hi there, I am wanting to find out how to add text to a hidden field in a HTML form. I want to add text from an array, the array holds the information for the caption placeholder for the images. Basically i have an image viewer which lets you scroll …

Member Avatar for colerainescotty
0
281
Member Avatar for Nareshdeven

How to make program that i have one text box and select box, If i type "a" in text box show all words start with "a" from select box. If i typed "india" in text box then automatically also select "india" from select box in PHP?

Member Avatar for network18
0
76
Member Avatar for miamizorz

Hello! I am trying to make an image gallery navigation work in IE (works in FF2+, safari, not working in opera 9, probably other browsers) but my severely limited Javascript knowledge is really holding me back! I am using JonDesign's SmoothGallery (camelback heaven, there), but the problem almost certainly lies …

0
62
Member Avatar for SKANK!!!!!

how do i close a specific window. (not the active one) with javascript. the reason im asking is because i have a form submitting to another page AKA TARGET_BLANK. but i have it target blank because that page checks if the stuff from the form can be inserted into the …

Member Avatar for SKANK!!!!!
0
1K
Member Avatar for DealthRune
Member Avatar for LUCKYLOVE
0
319
Member Avatar for ablitz

Hi guys, I spent the whole day (thats 8 hours straight) trying to get a simple jQuery function to work but failed miserably!!! I very very new to the jQ scene and I know I have a lot of catching up to do! Could somebody get this to work for …

Member Avatar for Luckychap
0
223
Member Avatar for _John_

Dear Experts, Apparently using the html mailto: action is prone to not working if the users client side email is not properly configured (like hotmail or other web based email apps). Is it possible to catch this error in the html code (via javascript, PHP, or HTML) and take other …

Member Avatar for Airshow
0
228
Member Avatar for DARK_BYTE

Hi can someone please explain to me what is the difference between writing onclick="confirmLink()" and onclick="return confirmLink()" I tried both and they did the same thing and I am confused since the lazy fellows from my university have given me old notes in which they randomly include the "return" sometimes …

Member Avatar for DARK_BYTE
0
190
Member Avatar for hajjo

I have a table, and insde the table dynamic inputtextboxes how can i set the id of textbox "row" + row number id of first textboxt row0, second one row1 and so on..

Member Avatar for Luckychap
0
107
Member Avatar for akkkk

Hello, can somebody tell me why I get a parse error in this file? The error message is on line 20 according to the error log, the last line. [CODE]<?php // errormsg.php function error($msg) { ?> <html> <head> <script language="JavaScript"> <!-- alert("<?=$msg?>"); history.back(); //--> </script> </head> <body> </body> </html> <? …

Member Avatar for akkkk
0
257
Member Avatar for The Photographe

I am having some problems with (a)coloring my stick figer(b)to stabelise the line on which the stick fig is supposed to be running across the Applet on. Can some one please advise me on how to achive this? Thanking you in advance. [CODE] //Walking //Written By: //Written on: import java.applet.*; …

0
80
Member Avatar for santhanalakshmi

Hi, This is my perl program.......... [CODE]#!c:/perl/bin/perl use CGI qw(:all); $pfaccode=param('faccode'); $pprogramme=param('programme'); $pdeptcode=param('deptcode'); $pbrancode=param('brancode'); $psemester=param('semester'); $pkook = cookie(-name=>'logtime'); print "Content-type: text/html\n\n"; print "<body bgcolor=\"#ffcccc\">"; use DBI; my $dbh = DBI->connect("DBI:ODBC:wwwdsn","webid","dibew") or die "Cant connect: $DBI::errstr\n"; my $sth = $dbh->prepare("select kid from facltmst where faccode = ?") or die "Can not …

0
74
Member Avatar for vishalanuj

[CODE]<%@ page language="java" pageEncoding="ISO-8859-1"%> <%@taglib uri="/WEB-INF/struts-html.tld" prefix="html" %> <%@taglib uri="/WEB-INF/struts-html-el.tld" prefix="html_el" %> <%@taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %> <%@taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %> <%@ taglib uri="/WEB-INF/c.tld" prefix="c" %> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>Listing all cities</title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> </head> <body> <center><h3>city List</h3></center> </body> <html:form action="/UpdateSuccessAction.do" > <c:forEach …

Member Avatar for vishalanuj
0
157
Member Avatar for skurenak

I am an absolute beginner with javascript and have no idea how to solve this one. got a function fu() which should display the NAME of the image upon onmouseover,but when I try it,all the images show the same name,although they have different names in the code. I thought the …

Member Avatar for skurenak
0
115
Member Avatar for oded_r

i want to cast this two typs HtmlDocument doc = Webbrowser.Document; HTMLObjectElement FirstElm = doc.All[0]; how can i do it

Member Avatar for sknake
0
123
Member Avatar for hajjo

imagine i have inputtext i have list of values ..which are merchandise, auotmobile, car if user types c in textbox i want car to show up ..how can i do that? like when u type hotmail message..and u write k..and emails starting with k in ur list comes up.. sthg …

Member Avatar for Thirusha
0
65
Member Avatar for pradhan.s

how to run java script using a notepad should we use .js extension..?

Member Avatar for Thirusha
0
39
Member Avatar for leesyy

hi, can anyone provide an example codes on the wrtkit selectionMenu and SelectionList. i need it to display a drop-down list for selection in a view specified in the same .js file thanks a lot...it's really urgent!!!

0
69
Member Avatar for Stefano Mtangoo

There are few Books on Java, C++, PHP and Python, but haven't seen one in AJAX/JavaScript. Is there any legal downloadable JavaScript/Ajax book?

0
87
Member Avatar for chowdarysmk

Hai 2 all I have a small correction at password: now invalid charcters also taken in form plz modify prog if u enter ivalid charcters like~!@# tis type it show an error msg invali charcters display it one plz [B][B]HTML CODE[/B][/B] [code=php]<html> <head> <title>Registration</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <script type="text/javascript" …

Member Avatar for Atli
-1
98
Member Avatar for Member #361407

Hi, using a snippet I found on here I have this code: [code] var password; var pass1="PASSWORD-HERE"; password=prompt('Whats The Magic Word?',' '); if (password==pass1) alert('That Is Correct!'); else { window.location="SITE-LINK"; } [/code] But I want to make pass1 harder to see so I want to encrypt it and use that …

Member Avatar for HenryGR
0
131
Member Avatar for Graphix

I am currently having a problem with my BB-code editor, like most things it works great in FF, but i have an issue with IE: whenever i select a word that has already been previously typed, it selects that word instead of the one i selected. Here is the selection …

Member Avatar for Airshow
0
300
Member Avatar for Traicey

Hi All I am having a problem on finding a solution regarding the ff problem I need to do a search using a textbox and a datagrid, that means type in a text on the textbox and press enter and If a record is found the datagrid should point to …

Member Avatar for Traicey
0
180
Member Avatar for samlabs821

Hi there .. I have error on my firebug it says:document.getElementById("category") is null Could someone help me?? and i wanted to set the default drop down option [code=html]<html> <head> <script type="text/javascript"> var i = 0; var someValue = '4'; var mySelect = document.getElementById('category'); while(i < mySelect.options.length) { if(mySelect.options[i].value == someValue) …

Member Avatar for Thirusha
0
136
Member Avatar for rawroro

Hello , I have a question concerning evnthandlers . I am programming a chat system and have an event handler in my code that checks for user presence ( using [URL="http://www.xmpp.org"]xmpp[/URL]) . this is done when a connection sends a "presence packet " which is one like this , [CODE] …

0
57
Member Avatar for jaimca

Hi i need to pass values from one html page to another without using forms. Is this possible . Can i access these values using javascript.. Please help me with a code sample .. thanks in advance

Member Avatar for samlabs821
0
79
Member Avatar for Jayakrishnan_gk

I have a search box. I need to remove all the special characters from the search term and then query it. “’-,?~!@#$%&*+-= all these characters.... can anybody suggest a proper regular expression for this ? and the syntax for using it in javascript. my query is saved in var query;

Member Avatar for Jayakrishnan_gk
0
167
Member Avatar for Chad Gary

Trying to turn all <p> elements to red. I'm using the following js code with prototype and I'm getting an error that says each is not defined in my firefox window. [CODE]var paragraphs = $$('p'); each(paragraphs, function(element) { element.style.color = "red"; });[/CODE] Html Code: [code=html]<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" …

0
67
Member Avatar for neomatrix2

i am trying to wrap my validation summary for createuserwizard to a modalpopup but dont knw hw to to call the javascript on createuserwizard1_createusererror event javascript code on aspx [CODE] <script language="javascript" type="text/javascript"> // <! Javascript to show the modalpopup function ShowModalDialog() { Page_ClientValidate(); if(!Page_IsValid) $find('<%=AddUserVS_ModalPopupExtender.ClientID%>').show(); } </script>[/CODE] and i …

Member Avatar for Dhaneshnm
0
288

The End.