20,316 Topics
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> …
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 …
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
Hello Everyone, can i search the first column of the datagridview as user types in the text. i dont want any seperate textbox the user should be able to type on datagridview directly when its selected For Example if the user types in letter "T" on the datagridview it should …
Hi. I have a form for book registration, so by default I have a text field with a button besides that for the author name, but when the user click the button I need the another text box with another button besides that created, and if again it click another …
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
I have a iframe php form and I request the 3-digit code from the back of a credit card. Can I have a pop-up html page for help? The screen goes: "3-digit Security Code: _______ (on back of card)" I would like to have it so if the user clicks …
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 …
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 …
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 All I am looking for a charting tool that can generate charts and graphs dynamically for business web application. I have already looked into JFreeChart, YahooUI and GoogleUI charting tools. The problem that I am facing is that I need to trace the mouse hovering in the image generated.. …
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?
Hi In internet explorer, the default zoom percentage for ' print preview ' is 75%. In programming by using the <object clsid> how can i set the default zoom percentage to 100%. thanks in advance. regards, aras
hi all, i have two dropdown boxes in which i have to insert dates in first boxes from 1-31 and in second box i have numbers from 1-15. when i click on date1 and select 3 in second box i should get 3 rows from date 1-3 and i have …
hi all, i want a menu script like[URL="http://www.emirates.com/cn/english/"]http://www.emirates.com/cn/english/[/URL] the main thing is the border red line should appear i tried but left with no other option to request for help from u guys plz help
hey guys, I am not sure if this is the right place to ask this question but i was wonderring if you could print out a letter in a web page using html. Actually m making a project in which if a user's form is accepted then a confirmation letter …
Hey guys! I recently made a html document with a password field. But for some reason when i load the page the password field already has some text loaded inside it. Was it because of the java script used in it or the Html document itself?
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
Ok, let me try to explain what I am doing here. I have five buttons that are red and when rolledover display the same five images except in color. Pretty typical rollover. But when you rollover a button, not only does the image turn to color but the image underneath …
Hello everyone, The ajax+php part worked well independently. When I created a switch (because I want different information from database to be displayed in different tabs), it does not go into the xmlHttp.onreadystatechange=function(). I tried all possible variations, and looked online for hours. Can anyone help please? Thank you [code] …
If this is found somewhere else, I'm sorry for bring it back up, I just could not find it anywhere. My problem is that I have a webpage that is setup using <div> and is designed at 1024. I recently had someone tell me that it does not look good …
Hello everyone, I just have a quick Javascript question I haven't found an answer to on the net. What is the difference between [icode] arrayName[0] [/icode] and [icode] arrayName.item(0) [/icode] I've run across instances of both, but nowhere have I seen the difference between the two. Thank you, Jmasta
Hi, I have a aspx form on which I have a ListBox control a text field a button (btnA) and a submit button (btnB). The scenario is: the user enters text in the text field and clicks btnA. The value in the text field is added as an option in …
Hi, I have 2 textbox and 2 buttons in my form. Seperatly, Button 1 will validate textbox 1 and Button 2 will validate textbox 2, if they are empty or not. How can we do it? Thanks
i want to scroll table or div with javascript for paging. So how can i track scroll bar or custom scroll bar and renders table records dynamically as user scrolls up or down. Please help me for this.
I'm having a for where I can create invoices. Now I'm having the form fields where I have to fill it out with the customer's data. Well I don't want to fill out existing customer's data everytime. So I am having a link which opens up a page with a …
The End.