17,115 Topics

Member Avatar for
Member Avatar for krishnareddi

hi, i m having problems displaying values in a tree menu from the database. I ll try explaining wat i did so that that ll help to solve my problem. I have two tables in the database one with name 'addcourse' and the other with the name 'subcourse'. what i …

Member Avatar for langsor
0
126
Member Avatar for shijunair

hello, I just noticed a problem in my code. hope you'll would help me. normally we have a login page where the userid and password is validated from database .now the problem what i am facing is [code]while(rs.next()) { if((rs.getString("m_emp_no").equals(user)) && (rs.getString("m_password").equals(pwd)) ) { " " direct to some page …

Member Avatar for stephen84s
0
96
Member Avatar for veledrom

Hi, How do we increase and decrease a counter when we click on a selectbox? Example: I have 3 selectbox. Whenever i click on one selectbox it will print on screen a message 1 selected, 2 selected 3....... Thank you very much

Member Avatar for essential
0
123
Member Avatar for harry35

Hello, I'm a web developer and live and work in Vancouver. I'd like to make and meet new friends here. I am especially experienced in RoR, CSS, and javascript, if you need help with any of these, let me know. Cheers, Harry

Member Avatar for jack099
0
100
Member Avatar for cskinpg

hello everyone iam new in this forum, i want to create horizontal menu contains p1,p2,p3 if iam click or move mouse to p1 new window open in right hand side show the details,and move on to p2 p1 window is get invisible and new window for p2 show the details …

Member Avatar for indiecorporate
0
254
Member Avatar for punithapary

Hi, Using js i want to send mail can anyone give some example code for that Thanks and Regards Punithapary

Member Avatar for langsor
0
64
Member Avatar for dianac10
Member Avatar for GoldsmithGaming

im Justin Goldsmith i can script java and lua for instance i have made places and scripts in a game called roblox that uses lua and java scripting and their workers use C++ And C# which i am learning if you want to see one of my scripts then tell …

0
57
Member Avatar for Venom Rush

I initially created a post for my problem here [URL="http://www.daniweb.com/forums/post678373.html#post678373"]http://www.daniweb.com/forums/post678373.html#post678373[/URL] I received a response saying my answer lay with ajax. Please feel free to make suggestions like there's no tomorrow ;) P.S. I'm know very little when it comes to Ajax so something with comments in it would be great.

0
69
Member Avatar for architact

Why this code is not working. [CODE] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Untitled Document</title> <script language="javascript"> var http=""; if(navigator.appName == "Microsoft Internet Explorer"){ http = new ActiveXObject("Microsoft.XMLHTTP"); } else{ http = new XMLHttpRequest(); } function insert(){ document.getElementById('error').innerHTML = "Please …

Member Avatar for architact
0
131
Member Avatar for Grantmitch1

Well I am creating a series of sites just to try and improve my skills with web design. My problem is I will have a series of thumbnails going in a line at the top hand of the screen. These thumbnails link to my other sites, however when you hover …

Member Avatar for Grantmitch1
0
92
Member Avatar for dragonflyuk

I have a javascript that looks up some details on googlemaps for me, then returns them to a php script that does the web bit I actually need doing. I actually works by filling in a form and submitting it, so that php can handle the data. However I now …

Member Avatar for R0bb0b
0
90
Member Avatar for rickya100

Hi thanks for looking. It's quite straight forward really. As opposed to allowing all possible divs to be displayed I would like to make them all collapse and then only expand the one that the user clicked on. Simple right? OK so here is my code right now, which allows …

Member Avatar for langsor
0
233
Member Avatar for rejisha

in my code i am listing some tables using <li> and my code is <ul id='test'> <li><table1><tr><td></td></tr></table1></li> <li><table2><tr><td></td></tr></table2></li> <li><table3><tr><td></td></tr></table3></li> </ul> can i change the id of the <ul> when clicking on the <td> of the table??? very very thanx in advance... :)

Member Avatar for langsor
0
134
Member Avatar for amarprem

TotalrecordCount = 300 Page size = 10 Pagecount = TotalrecordCount / Pagesize /* 30*/ One row size = 20px Body size = 20px * pagesize ScrollTrackSize = Body size /*200*/ ScrollPointerSize = Body size /Page count /*15*/ One row track size = 15 / 10; /*ScrollPointerSize / Page size = …

Member Avatar for langsor
0
79
Member Avatar for bigalo

Hello, I woould like to add 2 links to this code. One to "expand all" panels and the other to "callapse all". Also, when they expand and callapse all, the plus and minus images change accordingly. Can anyone please help? [CODE] <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> …

Member Avatar for bigalo
0
170
Member Avatar for steve20

Hi everyone, I wonder if somebody can help me with the following please. I have a number of textBoxes on a page that I want to check with a for next statement. e.g, the boxes are called (imaginatively), txtBox1, txtBox2, txtBox3... I would like to build a statement where I …

Member Avatar for QVeen72
0
133
Member Avatar for dave_nithis

This is my HTML File: [code=html]<html> <head> <script type="text/javascript"> function validateCatalogId(){ var req=init(); function init(){ if (window.XMLHttpRequest) { return new XMLHttpRequest(); } else if (window.ActiveXObject) { return new ActiveXObject("Microsoft.XMLHTTP"); } } var catalogId=document.getElementById("catalogId"); req.open("POST", "validateForm", true); req.onreadystatechange=processRequest; req.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded'); req.send("catalogId="+ encodeURIComponent(catalogId.value)); function processRequest(){ if(req.readyState==4){ if(req.status==200){ processResponse(); } } } function …

Member Avatar for dave_nithis
0
152
Member Avatar for samlabs821

hello could someone help me with div position This is code: [code=html] <th width="200" scope="col" bgcolor="#666666""> <div class="css" id="myOtherElement"> <span><strong>Menu</strong></span> <div> <a href="#">Menuelement 1</a> <a href="#">Menuelement 2</a> <a href="#">Menuelement 3</a> </div> </div> </th> [/code] css code: [code=css] .css{ position:absolute; left:0px; top:0px; z-index:-1 }[/code] the problem is when i set its …

Member Avatar for samlabs821
0
129
Member Avatar for amarprem

TotalrecordCount = 300 Page size = 10 Pagecount = TotalrecordCount / Pagesize /* 30*/ One row size = 20px Body size = 20px * pagesize ScrollTrackSize = Body size /*200*/ ScrollPointerSize = Body size /Page count /*15*/ One row track size = 15 / 10; /*ScrollPointerSize / Page size = …

0
44
Member Avatar for jonathanasdf

Well, I'm not very sure where exactly I should post this. My question is, would it be feasible to create a fixed navbar, most likely with an embedded swf file (align fixed using a div), have easing after being scrolled. Fixed navbar means, it stays on your screen no matter …

Member Avatar for bennymartinson
0
94
Member Avatar for sparis

I would like to ask your opinion[s] about how to approach the problem of generating Swing application UIs at runtime. And, to start: I am writing a Swing client application - not an applet and not a browser-based application. My IDEAL user experience would be to simply display DHTML in …

Member Avatar for sciwizeh
0
125
Member Avatar for ricksvoid

Ive created a realestate application that allows the agent to upload photos along with a description of the estate, price, bedrooms and financial options. On the buyers side ive used a forms view to enable a viewer to browse through records and display images directly from the database. Everything seems …

0
38
Member Avatar for kohuke

Hi. Me again. I have searched google and found no good tutorials to help me. I'm using "Glassfish v2", "Mysql v5" and "NetBeans 6.5 beta". ***I have to make a seach jsp page that searches by different parameters stuff from database - meaning from one parameter to several. [LIST=1] [*]Which …

Member Avatar for peter_budo
0
173
Member Avatar for justinmyoung

How do you keep multiple javascripts from interacting and effecting each other? thanks

Member Avatar for justinmyoung
0
105
Member Avatar for shilpamg
Member Avatar for nikesh.yadav
0
105
Member Avatar for amarprem

I want to move or drag image or div inside another div. I can't know that when to stop dragging or moving when an dragging element reaches its parents boundry. I don't know which properties of both elements to be measured for dragging. So please help me for this.

Member Avatar for nikesh.yadav
0
48
Member Avatar for dello

Hello everyone - firstly apologies... long post ahead. I was wondering if someone could please help me out a little. I just can't figure this out! I am trying to call a javascript function which exists in the same page from within InnerHTML in another script and I can't seem …

Member Avatar for dello
0
2K
Member Avatar for nileema

hi I want to add combobox dynamicaly on onclick event of button . On next page i want to get that selected item of each combo. How would i get the id each combo?

Member Avatar for essential
0
664
Member Avatar for greeny_1984

hi, iam using the following javascript a page opener.location.reload( true ); but every time the page reloads iam a getting alert message. How can i reload a page with out a alert message

Member Avatar for greeny_1984
0
135
Member Avatar for creativehacker

Hi Can Anyone please give me a script which is used to drag a text from within a webpage to the textarea present on the page. I want a certain text to be appended to the textarea text and I want a certain text to be added anywhere in the …

Member Avatar for ~s.o.s~
0
277
Member Avatar for trevata

Hi ! I need a javascript code which sends variable to PHP. I have a drop down menu (<select>) in the select there are diffrent cities and i have an array of neighborhoods and when one city is selected, a part of that array shows up, e.g. from 13 to …

Member Avatar for trevata
0
149
Member Avatar for knarffrank
Member Avatar for Kusno

Dear all, I have a problem. I want to subtract two dates use JavaScript. First date source is from SQL database, I format it use ASP.Net code to "yyyy-MM-dd" without time and save it into TxtDate. The second date is from current date. I want subtract those two dates without …

Member Avatar for ~s.o.s~
0
157
Member Avatar for pranabmohanty

hi, i m in to performance testing. so for me to mandatory to know that whether a website using ajax or not? an if yes ,what are different things associated with it in that perticular webiste? so can any body tel me, is there any way to know that whether …

Member Avatar for ~s.o.s~
0
126
Member Avatar for queenc

hi i want to validate more than one radio button i.e more than group to be validated in a page.i searched for many but did not find good validation please send sample code

Member Avatar for essential
0
70
Member Avatar for ricksvoid

Ive created a realestate application that allows the agent to upload photos along with a description of the estate, price, bedrooms and financial options. On the buyers side ive used a forms view to enable a viewer to browse through records and display images directly from the database. Everything seems …

Member Avatar for dickersonka
0
170
Member Avatar for queenc

my below validation is not working.But it is working in other html pages when i test .please tell me whether there is any error in my php page. [ICODE]<?php require_once('common/dblayer.php'); $db=new dblayer(); $enc_id=$_GET["id"]; $agreementdetails=$db->getfeedback($enc_id); $companyname = $agreementdetails[0]["company"]; $fullname = $agreementdetails[0]["name"]; $agreed = $agreementdetails[0]["agreed"]; ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 …

Member Avatar for R0bb0b
0
67
Member Avatar for rameshk_tvm

Hi, I have created a web page with javascript, its successfully working in firefox but not in internet explorer version 6 and 7. I am not good in scripting and I have done this page with the help of my friend. I have uploaded the zip file. It contain two …

Member Avatar for rameshk_tvm
0
141
Member Avatar for trbothead

Does anyone happen to know if it is possible to create a layout that will allow me to have a fixed width left column and fluid right/content column? The really tricky thing, is that I'm in a CMS. I cannot add inner/outer divs to contain the modules. I have to …

Member Avatar for omol
0
159
Member Avatar for BillyMako

Hi, I have an Alert box which pops up when a customer enters in "po box" in IE7 it doesn't let the user continue after entering "po box" in the field but in Firefox after Alerting it still lets the customer continue. How can i make it so that on …

Member Avatar for essential
0
135
Member Avatar for manish250

i have taken date month nd year in menu in simple jsp not javascript.i want whwenevr i click on feb date list automatically contain 28 or 29 days.please reply me in a day

Member Avatar for peter_budo
0
92
Member Avatar for pandax

Hello, I'm not sure about my situation. As common, I created two pages for my project: gallery.html (thumbnails) -> view.html (photo) Is it possible for me to view the large photo while i am in gallery page? I mean when I click (a link) on gallery, it will show the …

Member Avatar for pandax
0
84
Member Avatar for danno74

I'm trying to get this PHP mail form to work correctly and I keep getting an error: [code]PHP Parse error: syntax error, unexpected T_STRING[/code] from this line [code]mail($formproc["email"],$emsubj,$message,"From: $emfrm");[/code] from this mail form PHP file [code]<?php if (isset($_POST["formdata"])) { $formdata = $_POST["formdata"]; foreach ($formdata as $key => $value) { $formresults …

Member Avatar for R0bb0b
0
226
Member Avatar for anuj_sharma

hey guys, I have made a web page which comprises of two divisions.The first div is used to display a table which shows the inhouse trainess and the other div also displays a table which shows the outside trainess. Initially when the page loads both the divisions are hidden.I have …

Member Avatar for essential
0
94
Member Avatar for knarffrank

I want to create a search engine page where i can get google's number of result for example: When I type the word "Car" it will search in the google's search engine and it will return the number of results.. Note: the page will not go to google's page

Member Avatar for amithc
0
187
Member Avatar for marcux

Hi all! I am trying to make use of JDOMP but apparently something does not work. Here is my code: [CODE] function saveTextToServer(){ var dateNow = new Date(); var time = dateNow.getTime(); var url = "saveNotewall.php?text="; var noteField = document.getElementById("noteField"); url = url + noteField.value + "&time=" + time; var …

Member Avatar for marcux
0
83
Member Avatar for chry_15

Hi everyone, I'm a newbbie on javascript... I'm trying to develope a js to compare the first two letters of two fields... Any help would be appritiated!!!! Thanks Chris

Member Avatar for ~s.o.s~
0
97
Member Avatar for amarprem

I want to create a simple table in js from array. I want to retrieve records as user scrolls. I donot want to use paging. So please any one help me about this. Give me a simple example.

Member Avatar for ~s.o.s~
0
31
Member Avatar for andr3a

Hi Guys I am trying to create an opinion poll using javascript for my website. It just requests a yes or no answer. Any solutions?

Member Avatar for peter_budo
0
91

The End.