17,115 Topics
![]() | |
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 … ![]() | |
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 … | |
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 | |
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 | |
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 … | |
Hi, Using js i want to send mail can anyone give some example code for that Thanks and Regards Punithapary ![]() | |
Can a html that contains JavaScript be loaded in Swing ? | |
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 … | |
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. | |
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 … | |
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 … | |
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 … | |
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 … ![]() | |
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... :) ![]() | |
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 = … ![]() | |
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> … | |
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 … | |
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 … | |
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 … | |
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 = … | |
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 … | |
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 … | |
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 … | |
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 … | |
How do you keep multiple javascripts from interacting and effecting each other? thanks | |
Please anybody tell me the code to generate the random number in javascript. | |
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. | |
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 … | |
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? | |
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 | |
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 … | |
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 … | |
Google API Search Engine Code. Need help! | |
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 … | |
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 … | |
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 | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 | |
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 … | |
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 … | |
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 … | |
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 | |
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 … | |
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 | |
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. | |
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? |
The End.