jquery x 2,329

20,316 Topics

Member Avatar for
Member Avatar for scottholmes

I have this bit of php that works fine as is but I would like to separate out the javascript calls to an onLoad function. [ICODE]<?php include("casefile.class"); $cf = new casefile_Rec; $seclogin=$sess->getSessVar("seclogin"); if ($cf->primary_case_list($seclogin["uname"])) { echo "<ul>"; while ($row = mysql_fetch_assoc($cf->res)) { if ($aLine=="evenListing") { $aLine="oddListing"; } else { $aLine="evenListing"; …

Member Avatar for scottholmes
0
324
Member Avatar for suriname0

I have a rather vague question on Applets. Is there some way for the Applet to communicate back with the JavaScript that runs it? I use the PARAM tag to send information (cookies with username, settings, etc.) in, but I want to be able to get information back out of …

0
56
Member Avatar for drsmith

I am just getting to know the abilities of AJAX and it sounds pretty powerful. I have gotten feedback on a couple new projects I am working on and many responses say that AJAX is the way to go. My question is...is AJAX something a novice can use? Can you …

Member Avatar for Jugortha
0
114
Member Avatar for Misr

hello gues i put my question here cause i am php student i want to know how is rapidshare.com make its progressbar while file upload? i mean the progressbar which calculate the file size in bytes and disblay it also in bytes! i hope you to understand me and sorry …

Member Avatar for nav33n
0
71
Member Avatar for cancer10

Hello, Does anyone knows where I can find some good prototypejs tutorials. I find their official documentation very hard to understand. Please supply me with some good links to learn prototypejs. Thanx a ton

0
88
Member Avatar for BogusAurelius

I am trying to create a form that is javascript/ajax based, with a serverscript in php. I want to SEND an array for the serverscript to decode/unpack, translate. I want the array object to be an assocative array, such as myarray["age"], and myarray["name"], so i can have the php serverscript …

Member Avatar for scru
0
58
Member Avatar for tnthomas

On my website, I have an Iframe open up when a user clicks 'run report' and then the iframe submits the information that is given to it from the initial page to parse the report through an xslt and then spit out a word document. I need to find a …

Member Avatar for tnthomas
0
99
Member Avatar for Ali.M.Habib

I have a tsak which is let the user draw any number of rectangles in a panel and if he want to move one of them use the mouse How can I do that please the problem faces me: 1. How let him draw many of them 2. How can …

Member Avatar for Jugortha
0
123
Member Avatar for dks1383

Hi all I want to access hidden values by javascript what's wrong on bellow code: <html> <head> <script language="javascript"> function func(i) { var x=document.form1.array[i].value; alert(x); } </script> </head> <body> <form method=post name=form1> <?php for($i=1;$i<100;$i++) { echo "<input type=hidden name=array[$i] value=$i>"; echo "<input type=button onclick=func($i) value=$i>"; } ?> </form> </body> </html>

Member Avatar for scru
0
174
Member Avatar for mithesh

Hi All, I want to display the string captured by using onkeypress event now my problem is i am able to display the string in the text box but i want to display it using <span> or <div> as a string i am attaching the code also : <html> <head> …

Member Avatar for ~s.o.s~
0
95
Member Avatar for gourav_jain

Hi All, I need one help in handling unicode data in java script. I want to run a loop to print a series of characters. Since '\u0041' represents character "A" but can I write a counter let say from '\u0041' - '\u0067' to write all the characters from "A" to …

Member Avatar for ~s.o.s~
0
135
Member Avatar for Roebuc

Ok guys, I have a form I want to email the data to my email addess. There are three inputs, two text and one text area. On submit I would like it to display a thank you page. Whenever submit is clicked, I get a script error(thank you page never …

Member Avatar for Roebuc
0
119
Member Avatar for kishou

how would i use 2 if statements? i tried using && but it wouldnt work. :( like: if (yo!==yo) if (yogfhf!=yoh)

Member Avatar for kishou
0
103
Member Avatar for fredjahed

Hi All, When trying to change the bcackgroundImage of element useing javascript method style.backgroundImage="url(blue_link.gif) no errors found but the script can't find the image so what is the correct way to use the address of the image? Thanks very much in advance, Fred

Member Avatar for MidiMagic
0
476
Member Avatar for hidash_in

how to calculate the days between two dates excluding saturday and sunday foe example if i am calculating the days between 14/12/2007 to 17/12/2007 the answer for no of days should be 4... pls send the code for above problem. advance thanks hidash.

Member Avatar for MidiMagic
0
139
Member Avatar for Roebuc

Hello all, I am helping create a website. Over a particular Image I have, I want it to say the name of the link, ie Home. While I got my cool flash things working where the image changes colors on mouseover, I can not get the text of the link …

Member Avatar for Roebuc
0
140
Member Avatar for suha899
Member Avatar for 96854

I want to start a small engraving business and i was wanting to go online with it. I have very basic knowledge(3 weeks of tinkering) of what is needed to be done to place a business online. I know how to make a site the way i want it to …

Member Avatar for ithelp
0
89
Member Avatar for sumiko2005

hi all, can anyone help for my problem. is it possible to get iframe id like case below? index.html <iframe id="iframeid" src="checkid.html"></iframe> checkid.html <script>alert([iframeid]);</script> advance thanks. sumiko

Member Avatar for sumiko2005
0
90
Member Avatar for anital

Hi, I am new to Javscript, and I need some help in accessing a set of <p> tags after <a> tag using getElementsByTagName('p'/'a'); I want to access the <p> tags after <a name="PAGE2">, <a name="PAGE3"> etc. This is what the HTML body has: <p class="verdana">First Paragraph </p> <p class="verdana">Second Paragraph …

Member Avatar for hielo
0
131
Member Avatar for agrothe

so apparently you can't call a page containing ajax from an ajax script. So I hear. I've also heard about a work around. Something like having all the ajax on the parent page or something. Does anyone have more information on this?

1
62
Member Avatar for ukndoit

I have a javascript that I have been using for a long while now, and I have the need now to make it work differently. I have it where when the mouse goes over a link it will give you a 'tip' as to what that link is for, or …

Member Avatar for saidyakhyoev
0
193
Member Avatar for ripthorn

Hi, please forgive my amateur ways ;) I'm using [URL="http://www.dynamicdrive.com/dynamicindex14/leftrightslide2.htm"]this code[/URL] to to make a scrolling couple of pictures. At present, using dreamweaver mx, I've got a static picture right justified with text wrapping around it. Now if i replace that single line of code with the above, although i …

Member Avatar for mmick66
0
65
Member Avatar for tefflox

The site: [URL="http://listenlight.net"][B]listenlight.net[/B][/URL], does not work in IE. The javascript is really pretty simple, I think, so I will appreciate any and all help to get it accommodated for IE. The page views are way down, when they should be way up, given the design. Thanks. Also, as an off …

Member Avatar for tefflox
0
190
Member Avatar for Taffd

Hi all, I have a text area, in a form, that only allows basic text and punctuation. I'd like to be able, in certain circumstances, to allow links to be added, in a similar way to the text editors here on daniweb. Can this be done with php, or do …

Member Avatar for MitkOK
0
306
Member Avatar for virividivici

Hello everyone, I need to change the value of a jsp variable in javascript. I have got this code in my .jsp page: <c:set var="searchType" value="jobsearch" /> the value of the "searchType" should change depending on which link the user click on. I though if I put this variable in …

Member Avatar for masijade
0
74
Member Avatar for Pro2000

Hi everybody, I have a question: :-/ I want to submit a form in an HTML page by pressing Enter and it does not submit if I press Ctrl+Enter

Member Avatar for Pro2000
0
126
Member Avatar for hidash_in

hi all, can anyone help for my problem. i want to count number of pages in a pdf file using java script. i dont know whether it is possible. so pls tell its possible or not. if possible means send me the code... advance thanks hidash.

Member Avatar for ~s.o.s~
0
65
Member Avatar for hbmarar

Hi, how could one do this part... I got a form with image path and image url. I need to automatically save the path of the image that i have selected in the browse -> poped up dialog. to image url. Request pointers for above.thanks in advance. Hari

Member Avatar for hidash_in
0
91
Member Avatar for ytregnn

Hey, I wondering how I can make a "popup"-window (think it is done with Ajax) in the same browser-window? Click on one of the images in the link below for an example of what I mean. [url]http://www.railbirds.com/pictures/2/[/url]

Member Avatar for ytregnn
0
88
Member Avatar for ConfusedMuchMor

sorry didnt attach the file so here we go!! Hi Everyone I'm using a timer to shink a form, i've got it working now, but I don't understand why it didn't work is the first place, or why my change made it work!!???!!! in line 38 of my code (Toggle …

Member Avatar for scru
0
98
Member Avatar for strangeplant

Hi All, I need the help of a real expert because I'm still having difficulty with this Ajax technique. I have posted before about this on another site forum, but no replies (sigh). The script below works with FF only when the alert is in the code, and doesn't work …

Member Avatar for hielo
0
1K
Member Avatar for Oxiegen

Hi! I don't know if this has been answered already and a search gave to many results. I have a website that is built with ASP.NET and that uses some javascript. When I run a debug on localhost to check for errors the ASP.NET code works just fine, but every …

Member Avatar for hielo
0
226
Member Avatar for sandy183

hi, i'm trying to build a web page which permits the user to login before accessing the contents of the site. the login works fine (i did it using jsp), but i am not able to logout properly, that is, when i click on a "logout" hyperlink, it sends me …

Member Avatar for shajidbasha
0
234
Member Avatar for vardhani

In a form if i have a radio box say yes n no... on clicking on yes i want a text area to pop up how do i do this

Member Avatar for vssp
0
128
Member Avatar for Taffd

Greetings all, I'm in the process of writing my own forums. I'd like to insert a 'teaser', showing a few lines of a post, displayed when a user rolls over a thread link. Much the same as happens here on daniweb. Can somebody please explain how this is done. Thanks, …

Member Avatar for Taffd
0
107
Member Avatar for tactfulsaint

Please i need help with a code that can help me add an item to cart take me to the next page and i will still see thesame item i choose on the shooping cart.

Member Avatar for jwenting
0
62
Member Avatar for DanMcLinden

Hi, Based on review of [URL="http://www.ciaobellaphotos.com"]our home-based photo business site[/URL] and other reading on this and other forums the opinion seems fairly universal that use of frames is a bad idea, BUT ... Seems to work... - with 1024x768 or larger resolution there's no scrollbar on the sample galleries - …

Member Avatar for Fungus1487
0
128
Member Avatar for kings

hi i want to know how to use calendor control using javascript in php... please tell me the code

Member Avatar for nav33n
0
50
Member Avatar for smilyswapna10

how to disable the parent window when we open the child window. i have written this code but its working only one time.any one can help me s.html <html> <head> <SCRIPT > function popuponclick() { my_window = window.open("p.html", "mySelect", "status=1,width=750,height=450,resizable=no"); } </script> </head> <body> <form name="formSelect"> <P> <A HREF="#" onclick='popuponclick()' …

Member Avatar for ~s.o.s~
0
237
Member Avatar for johnson7767

I am working on this program that will show interest in an account for each year for 10 years. I want to click on a button and it display the interest for each year for 10 years. The box shows up but the calcuations do as well. It all comes …

Member Avatar for ~s.o.s~
0
188
Member Avatar for chauhansanjiv

Hi Frnds, Can Anyone tell me, how can I , [B] Change the BACKGROUND color of selected text in TEXTAREA[/B] sanjiv

Member Avatar for MidiMagic
0
127
Member Avatar for johnson7767

I am not a computer programmer but have an assignment that involves javascript. I need a program that will display the interest in a savings account if I deposit $1000 at 5% interest for 10 years. I need it to show the interest each year for each of the 10 …

Member Avatar for hielo
0
150
Member Avatar for Acidburn

Hey guys, Got my logger working as i wanted it to.. basically it just logs to a file using java.utils.logger anyway now got a problem. I'm wanting to duplicate the logging output to a JTextArea on my GUI. So I thought of building a wrapper class but to my suprise …

Member Avatar for Acidburn
0
143
Member Avatar for berlin

not sure if i'm using the right term... i'm having a prototype built and i found that the programmer I hired isn't using php to show form errors. he's using javascript. there are 20 different forms in this app, from user profiles to submitting photos and videos. the site is …

Member Avatar for berlin
0
124
Member Avatar for ruman_eee

hi everyone, I am in problem to get the array data from php to use it in js. $data[0]=88; $data[3]=44; $data[4]=2232; I want to use those data in js. Can anyone help me ??

Member Avatar for adorosh
0
121
Member Avatar for DrShady

Is it possible to transform this into a html/dhtml/ccs [url]http://ecx.images-amazon.com/images/I/41gsdg45CIL._AA262_.jpg[/url] 41gsdg45CIL._AA262_.jpg I did this by right clicking on the picture and going on the properties I was trying to cut and paste so I can put it on myspace. ON the EditProfile So there is anybody? Is it possible or …

Member Avatar for adorosh
0
75
Member Avatar for Dennis_Phils

Hi Guys... I'm having problem with XML transformation. I have this code where I click a link that will open a new window that is referenced to XML. It works fine in IE but in Firefox, a new window is opened and the contents are not displayed. Here's a code …

Member Avatar for hielo
0
515
Member Avatar for kings

hi, i am new to java script but my code is not working...please do tell the error in my code <script language="javascript"> function validateform() { valid=true; for (var i=0; i < document.userdetails.elements.length; i++) { var element = document.userdetails.elements; switch (element.name){ case "cname": if (element.value.length==0) valid=false; break; case "address": if (element.value.length==0) …

Member Avatar for hielo
0
114
Member Avatar for UnionJack

Hey everyone, I'm looking to create an asp.net calculator but not exactly like most of the examples you'd find on the web. Basically all I want is a textbox field where you'd type an integer followed by one of four basic math ops and then display the solution in the …

Member Avatar for alc6379
0
79

The End.