15,700 Topics

Member Avatar for
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
58
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
444
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
135
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
483
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
126
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
138
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
181
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
306
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
105
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
84
Member Avatar for x3n1x

Hello, This is my first post here, so Hi everyone :). I was advised to come to this site by a friend regarding a query that I have, so here I am. So we have the E-Commerce subject in this semester. One of the case studies given to us involves …

Member Avatar for x3n1x
0
151
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
165
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
84
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
122
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
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
468
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
119
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
126
Member Avatar for suha899
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
73
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
121
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
58
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
174
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
54
Member Avatar for Pro2000

Hello everybody, I wrote a file using AJAX this is the code I wrote: File.js [CODE]var http = createRequestObject(); function createRequestObject(){ var request_; var browser = navigator.appName; if(browser == "Microsoft Internet Explorer"){ request_ = new ActiveXObject("Microsoft.XMLHTTP"); } else{ request_ = new XMLHttpRequest(); } return request_; } function getInfo(){ http.open('get', 'GtCht.php'); …

Member Avatar for ~s.o.s~
0
103
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
180
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
69
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
115
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
58
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
87
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
990
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
203
Member Avatar for Dani

Is it possible to make an entire [INLINECODE]<div>[/INLINECODE] into a hyperlink using CSS only, as can be easily accomplished with mouse events in JavaScript? I'm assuming it's too good to be true since CSS isn't interactive? Nevermind ... I guess I just answered my own question :(

Member Avatar for tracedef
0
582
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
223
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
175
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
107
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
130
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
121
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
112
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
70
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
103
Member Avatar for Famous_Ali

can somone have timekill script for rapidshare the anti-waiting one please do answer

0
59
Member Avatar for Roiie 530x2

Hi Everyone, i wanted to know how i can have a script write some pre defined strings of text over a 40 second period with ocational pre defined second pauses. I would really appreciate everyones help with this as it is quite important. thank you :) The end result would …

Member Avatar for adorosh
0
97
Member Avatar for manvendra

JavaScript is not working on Internet Explorer 7. I typed a simple html program but the JavaScript is not running. Here is a simple program <html> <head> <script> function hello() { alert("Hello"); } </script> </head> <body onload="hello()"> </body> </html> If you have a solution please reply

Member Avatar for ~s.o.s~
0
545
Member Avatar for ray_broome

Hi, I am trying to create a 'simple' admin page where certain (authorized) people can update data in the database or add new info to it. The issue i've run into is after i created the form and have all the fields how do i tell which one(s) the user …

Member Avatar for nav33n
0
138
Member Avatar for momentsinlifeph

i am using win xp and dreamweaver cs3 the spry menu extention and have 9 bottons on a hor row the bottons are all 25 pixels abart which makes the botton go to next line have tried css controls and nothing seems to work i have tried deleting the h1 …

Member Avatar for ShawnCplus
0
27
Member Avatar for plastick

Hi all, anybody could help me how to use asp.net ajax enable to play video(flv,wmv,mpg, or other format) ? i'm new in asp.net using asp.net 2.0, asp.net ajax extensions 1.0, and c# thx b4

0
100
Member Avatar for adaykin

Hey suppose I have code like: <td id="something">I want to put stuff in here</td> How would I be able to put the value of a JavaScript array into the part where I want to put stuff. Say the value of the array at a position is hello, I would output …

Member Avatar for adaykin
0
81
Member Avatar for jenjen02

I've been having some problems with a little piece of Javascript. I am completely new to the language, so bear with me. What the end goal is to have a few link on the left side of a table, when the user hovers over them, there will be a thumbnail …

Member Avatar for jenjen02
0
76
Member Avatar for jencinas69

Hey dude check this <dl class="song"> <dt>Angels We Have Heard On High</dt> <dd class="player"><a href="tunes/Angels_We_Have_Heard_On_Hi.mid" onClick="NewWindow(this.href,'name','50','50','no');return false">Angels We Have Heard On High </a></dd> <dd class="lyric_link"> <A HREF="javascript:void(0)" onclick="window.open('lyrics/angels_heard.html', 'welcome','width=300,height=300')"> View Lyrics</A></dd></dl> i am using those two function to open pop up windows on our holiday site but it does not …

Member Avatar for ~s.o.s~
0
63

The End.