jquery x 2,329

20,316 Topics

Member Avatar for
Member Avatar for Acidburn

Hey guys I've got a JText field set up and i append strings to the JTextField but im wondering how to invidually set the color of each string that i append? I've taken a look at the JLabel class and I did come up with the idea that I could …

Member Avatar for Ezzaral
0
143
Member Avatar for DakDuif

hey ^_^ i really hope you guys can help me. Ill try to explain as clear as possible. Ok, so what I did was; I took a free web template, and tried to adjust it to the website i've been requested to make. What you see below is this window: …

Member Avatar for ShawnCplus
0
143
Member Avatar for earachefl@comca

Hi all, I'm learning JavaScript and have run into a problem. Displaying the contents of a cookie with the code [code] alert(document.cookie); [/code] works fine in Firefox 2.0.0.11, but in Safari 3.0.4, it just displays an empty alert box. Any quick answers? Any resources that you can point me to? …

Member Avatar for ~s.o.s~
0
106
Member Avatar for zeromancer

Sorry for the double post. but it wasn't even remotely in the right spot before. I wrote this little code segment to illustrate the idea of what I want. I'd like to be able to automatically scroll the DIV to the bottom when you add stuff to it. [code] <html> …

Member Avatar for digital-ether
0
1K
Member Avatar for manish_gajjar

i want to view image as tooltip of small image on mouseover on that so what is the code for that?using javascript how it can be done?

Member Avatar for Walkere
0
98
Member Avatar for smilyswapna10

Hi All, I want to change the f5 property to html tag(i.e., <input type='file'>) for I.E.7.0 version and above. but its not working. Here the code is working in only in <input type='text'> but not working to <input type='file'> <html> <head> <script> document.onkeydown = function(){ if(window.event && window.event.keyCode == 116) …

Member Avatar for Fungus1487
0
67
Member Avatar for chandusmiles

hi friends , i would like to learn Ajax so pls send me web links or sample programs wht is the Advantage of Ajax ? pls help me learn new concepts Ajax thanks & regards chandu

0
64
Member Avatar for thiagarajannn

Hai everybody, this is the proplem.when i excute the page and on clicking the button am getting error message saying that 'menu1.value is null or not an object'. how can i handle it.Please help me <SCRIPT type="text/javascript"> function test1(form) { if (form.menu1.Value == "Select") alert("Please select some other value!") else …

Member Avatar for thiagarajannn
0
196
Member Avatar for mexaros

I am recently out of college and two friends and I have decided started creating a system for a law firm. One of our objectives is to create a file type for this system that is encrypted until a password is entered when accessed outside of the system(ie if they …

Member Avatar for jwenting
0
129
Member Avatar for OmniX

I have an input submit button that once clicked activates php. Now the problem I have is that I have the neccessary code (or what i think is) to stop from the input button working (as I have used the same technique on the other input submit buttons). To get …

Member Avatar for OmniX
0
112
Member Avatar for lesalmin

How should I implement "interactive refresh" (I don't even know how I should call it) where one visitor's action (klicking a link, submit button etc. - everything will do) activates page refreshing of other visitors on the same page? I know how to implement an automatic, periodic refresh but I …

Member Avatar for phper
0
192
Member Avatar for TankMontna

Im trying to move an object, but I want the object to move every couple of seconds. I heared of the java script "time" or "timer" But im not sure how it goes.. Thanks,

Member Avatar for Ezzaral
0
324
Member Avatar for saranya_arun

I have 4 radio buttons and 4 text boxes, say for eg: r1, r2, r3 and r4 and t1, t2, t3 and t4 respectively. On load of the page all 4 text boxes will be disabled, when i click on r1, t1 must get enabled. When i click on r2, …

Member Avatar for ~s.o.s~
0
282
Member Avatar for smilyswapna10

hi all, when i refresh the parent window then the child winodw should be closed using javascript and html. Thanks& Regards, swap.

Member Avatar for nav33n
0
100
Member Avatar for avmaza

Dear friends, I have trouble with printing page with landscape. I am using java script to print the page. as well as I have set css file to print landscape but it is not working. I have used these line in css files, <style type="text/css"> <!-- @page { size: landscape; …

0
71
Member Avatar for orr16875

I have simple js form validation, and it doesn't work, no matter how enabled the browser is. I've tried everything. I even tried: <form action="mailto:..." > but it'll popup the windows alert about using the email program (outlook/outlook express) completely ignoring the js validation. please your help. this is the …

Member Avatar for Fest3er
0
168
Member Avatar for polski8

Everything was fine until yesterday. I am running 98SE with all the upgrades and stuff. I keep getting an error message that there is something (never the same thing) wrong with a script every single time I go to a page. This page did it twice. I also have a …

Member Avatar for darsh999
0
91
Member Avatar for ashkash

I am trying to implement a customer survey into our webpages. The survey consists of a javascript file which launches an html file in an iframe. When the user meets certain parameters defined in the js file it launches the iframe. This works fine in Firefox and the iframe is …

Member Avatar for ~s.o.s~
0
93
Member Avatar for OmniX

Im looking for a piece of code that can be used to select all input text fields and then disable and enable them at will. I was trying to work off this: [code] text = document.getElementsByTagName("input"); [/code] THEN when required: [code] text.disable = true; text.disable = false; [/code] Thanks, Regards …

Member Avatar for OmniX
0
8K
Member Avatar for mrt.work

Hi i would like to know how can we set the cookie by just typing url for example, [url]www.test.com/default.asp?field1=mark&name=john[/url] so when the user type in the url above, the two cookies will be set, which is field and name with the value mark and john. any replies, i'd appreciate. thanks

Member Avatar for mellamokb
0
134
Member Avatar for manish_gajjar

ajax_example1.php <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title>Untitled Document</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <script language="javascript"> function showdetail(id) { //var xmlhttp; //if(window.XMLHttpRequest) xmlhttp=new XMLHttpRequest(); /*else if(window.ActiveXObject) xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");*/ xmlhttp.open("GET","data_fetch.php?id="+id,true); xmlhttp.send(null); xmlhttp.onreadystatechange=function() { if(xmlhttp.readyState==4 || xmlhttp.readyState=="complete") { //if(xmlhttp.status==200) { //if(xmlhttp.responseText!='') { //document.getElementById('emp_nm').innerHTML=xmlhttp.responseText; xmldoc=xmlhttp.responseXML; document.getElementById("emp_nm").innerHTML=xmldoc.getElementsByTagName("emp_nm")[0].firstChild.data; document.getElementById("dpt_nm").innerHTML=xmldoc.getElementsByTagName("dpt_nm")[0].firstChild.data; document.getElementById("wrkphour").innerHTML=xmldoc.getElementsByTagName("wrkphour")[0].firstChild.data; document.getElementById("sal").innerHTML=xmldoc.getElementsByTagName("sal")[0].firstChild.data; document.getElementById("ph_no").innerHTML=xmldoc.getElementsByTagName("ph_no")[0].firstChild.data; …

Member Avatar for cfroese
0
110
Member Avatar for jp61

Hi, I have Spry placed on my web pages, when previewing in Firefox, and I click the Spry Accordion my nav at the top becomes bold and fuzzy, very strange, but it doesn't happen on every page [url]www.jimpoole.net/sinclair-college-courses.html[/url] I've compared code and looked at everything I know and can't come …

Member Avatar for jp61
0
164
Member Avatar for OmniX

Hi Guys, the problem im having is constructing a function that is usable for any submit button if it meets a certain criteria (this case mouseOver). Now orginally I was using the submit button for only one and was working fine but there are three. So I would like to …

Member Avatar for mellamokb
0
136
Member Avatar for saranya_arun

I have 4 radio buttons and 4 text boxes, say for eg: r1, r2, r3 and r4 and t1, t2, t3 and t4 respectively. [B]On load of the page all 4 text boxes will be disabled[/B], when i click on r1, t1 must get enabled. When i click on r2, …

Member Avatar for buddylee17
0
100
Member Avatar for Fest3er

I've created a fairly simple method for obfuscating email addresses as an anti-spam measure. It should work for any browser that supports JavaScript and a fairly modern Document Object Model (DOM). A composer window in the user's default email application will be opened. First up is the javascript function that …

Member Avatar for Fest3er
0
173
Member Avatar for Torner

I wrote a beginner AJAX tutorial, you can view it here: <snipped> I hope it helps someone. Thanks!

Member Avatar for fwassenaar
0
93
Member Avatar for dks1383

Hi all How can I write a javascript code to change the alignment of a textarea so that the user can select a part of of a textarea and change the alignment of this part by clicking a button? thanks

Member Avatar for Fungus1487
0
126
Member Avatar for palcham

Hi I am searched about uses of InnerHtml through net but i didn't satisfy that information so if you known means please send me about uses of inner html Advance Thanks

Member Avatar for temp304
0
160
Member Avatar for carko

Help please I am a newbie trying to learn. I have the time and attitude but I do need direction for what I am trying to do. I have a photo site that I am trying to redo. I am trying to create a page where on the bottom or …

Member Avatar for kevinly
0
105
Member Avatar for pappu_mca

Hi All... I developed one File upload application with HTML as client and JSP(Apache commons upload) as server... Its all working fine with submit...But i want to obtain the same with ajax request with no form submit.. How i have to pass file data along with other request paramaters like.... …

0
60
Member Avatar for palcham

Hi I cann't unable to get count the selected list box items using javascript so you please help me. if you know means please send to me Advance thanks

Member Avatar for palcham
0
230
Member Avatar for davidianstyle

I'm working with perl and javascript and I was wondering if anyone knew of a way to get syntax highlight for two or more programming languages at once in Emacs. For example: [CODE]# This is perl's comment my $variable; // This is javascript's comment var variable;[/CODE] I'd like the perl …

0
85
Member Avatar for avmaza

I have used the css to print the page orientation to landscape. But it is not giving the desired result. the code I have used, <style type="text/css" media="print"> .land{filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=1)} </style> Please suggest me to print to lanscape. I am using php and javascript. Regards, maza

Member Avatar for chrelad
0
228
Member Avatar for Cosmocrazy

Hi guys. I have a website that is meant for showing pictures. Right now, it's set up so that I have to make a new webpage and manually configure every picture (size, location etc) exactly how I want it. Here's what I mean: ([URL="http://cosmocrazy.x10hosting.com/Gallery-75/art1/shapesinspace.html"]example[/URL]) There is a frame on the …

Member Avatar for MidiMagic
0
293
Member Avatar for gpsmike

Hello all. i'm real new to any scripting so please be gentle. I'd like to write a script based on the AddFileNamePlusDate.js for photoshop. For anyone who doesn't know this script gets the file name and adds a text layer of a photoshop document and places the file name text …

Member Avatar for gpsmike
0
179
Member Avatar for Atticus

I am setting up a gallery using LightWindow or ThickBox. I've added all the js & css files but the gallery will not work properly. When I click on a thumbnail, the LightWindow or ThickBox is suppose to open and display the image, instead the image opens into a new …

Member Avatar for Atticus
0
106
Member Avatar for manish_gajjar

Hii I have a query...I am using PHP,Mysql and Javascript.. I want to add values in the listbox from textbox..and also display them in hirerachical manner using treeview or <li> tag...so please send me code for performing this process. Thank you..

Member Avatar for nav33n
0
228
Member Avatar for tiggi

Hi, I need some help with cfwindows, I got a page with few buttons in a cfform that initialize cfwindows with source in another page. Everything works as it should cept that when I click on 1 button the rest don't work. I am getting an error "error processing JavaScript …

0
85
Member Avatar for nikie20

I am working on a rating tool.The tool consists of 5 images (5-star rating) on clixk of the image i want to update my rate table (i.e on each click i incerement the count in the database).Currently i am trying out using ajax to run carry the rate value to …

Member Avatar for IamGeek
0
74
Member Avatar for k2k

hi, Please tell me what is wrong with this simple piece of code. It won't show up anything. Thank you. <html> <head> <title>onclick</title> </head> <body> <p> <script language="javascript" type="text/javascript"> <a href="http://www.yahoo.com" onClick="alert('popup');">click this link</a>to test </script> </p> </body> </html>

Member Avatar for ShawnCplus
0
57
Member Avatar for raghu.8

hi i want to populate country's name in 1st dropdownlist and their states should be placed in the 2nd dropdownlist, if we select any state it should place the name of the capital in the textbox besides that and so on..... If possible send me code thank you in advance …

Member Avatar for waterfall
0
256
Member Avatar for elferra

Hi, Im having trouble while trying to show full text of the different options included in a select when its width is limited. The idea is to show the full text of the option (there are quite a lot of options that just differ in their last 2 letters, and …

Member Avatar for MidiMagic
0
97
Member Avatar for tefflox

Hello, my site sees a lot of visits to the first page after the "cover", but very few beyond that page. I want to randomize the first inward link, and keep track, so if the reader decides to click "next", it won't load the same page. How do I do …

Member Avatar for nav33n
0
124
Member Avatar for xaviergxf

Hi, I have a table in my database that´s like that: create table t( id int, name varchar(30), father_id int, Primary Key(id), Foreign Key(father_id) references t(id) ); I´m trying to do the follow: 1) Create a select box witch each option has an id, that when selected it search on …

Member Avatar for ShawnCplus
0
65
Member Avatar for kaushik259106

Is there a way to check Iframe is supported by a browser or not in the JSP using some script. Please let me know! Its urgent

Member Avatar for kaushik259106
0
468
Member Avatar for jay64

Hi, I 'think' this is a JavaScript problem, but I am not sure. I am trying to make a modified layout using one of Dreamweaver's preformed layouts. The original layout has a navigation bar across the top of the page, that has drop down menu items. In the original form, …

Member Avatar for jay64
0
144
Member Avatar for adaykin

Hello, I get an error message saying flow() is not defined when I debug in firebug. I am not sure why this is happening. Here is my code: [CODE=javascript] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Image Flow</title> <script type="text/javascript"> function imageFlow() { var R = …

Member Avatar for ~s.o.s~
0
537
Member Avatar for tinwindow

I like this script one click at a time....only one page at a time in order is what I would like it to do Not random...... can anyone help me or is there a script i haven't found that does the same..??? Thanx so much for help..... CODE: <script> <!-- …

Member Avatar for tinwindow
0
139
Member Avatar for kimbokasteniv

The only experience I have in programming is with Java, and I am somewhat experienced in that. However, I have only just touched the surface of javascript by implementing google maps into a page of mine. My question is in regards to what I should keep in mind when creating …

Member Avatar for kimbokasteniv
0
166
Member Avatar for ghostsquad

[URL]http://www.daniweb.com/blogs/showentry.php?entryid=655[/URL] In reference to the script made by ben at the above address. I'm trying to decipher how to create a toggle where as, only one "slideblock" can be open at a time. When you try to make one visible, all others "slidein". Anyone have any ideas? Javascript has always …

Member Avatar for ghostsquad
0
201

The End.