15,700 Topics
![]() | |
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> … | |
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 … | |
| |
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 | |
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 … | |
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? | |
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 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, 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 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 have a login page which contains a text box for a username i want whenever i get to this page the Cursor is in the Text Box Waiting for my entry i know its so simple but im new to JS | |
I am developing a website that uses AJAX to change the content on the page. Everything is working fine in Firefox, but I cannot get the links to change anything in Internet Explorer. Here is the AJAX code: [code] var loader = null; function Onload() { try { loader = … | |
hey guys, I want to make a table but i want the first column of the table to have a radio button. On clicking the radio button i want the user to go to another page. Please suggest some ideas or some coding which could help me. | |
I am self taught Dreamweaver novice I have created a popup window, but even though in the code it asks it to open at 600 wide x 400 high, the pop up is opening in a tiny window It seems to be fine with Firefox, just a problem on IE … | |
Hi here is my first post hope you can help me I will try to explain the case without posting too much code I am using a script which is connected to a paypal form I have 2 radio buttons in the form and a text field One radio button … ![]() | |
Hi there I've never dealt with Ajax and I'm having a rather frustrating time with an upload progress bar I found on the net that's supposed to be really good. That's beside the point. I just wanted to know if there are any Ajax related packages out there that need … | |
Hello, I am having problems with Internet Explorer (as always) and AJAX. My code works with Firefox, but the page returns errors when trying to execute this script in Explorer: [ICODE] <script type="text/javascript" language="javascript"> var xmlHttp = false; function createPostRequest(url, parameters) { if (window.XMLHttpRequest) { xmlHttp = new XMLHttpRequest(); } … | |
Hi all, I am trying to edit [URL="http://www.dynamicdrive.com/dynamicindex8/ddwindowlinks.js"]this script[/URL] so that it not only changes offsite targets to _blank, but also changes their href from their original link, to [url]http://www.mydomain.com/externallinks/+origionallink[/url] Can somebody help me find out what is wrong with this script? It is editing the target and href of … | |
I decided to try and redo a site I'd had active ages ago and while looking over things to see what needed to be fixed, tweaked, and just in general redone I discovered that while viewing the site in IE everything works just as it should, but in Firefox the … ![]() | |
I have been working on a vertical accordion but seems not to be working, Can some one please check where the error is? Thanks in advance; At the Head Event.observe(window, 'load', loadAccordions, false); function loadAccordions() { var verticalAccordions = $$('.accordion_toggle'); verticalAccordions.each(function(accordion) { $(accordion.next(0)).setStyle({ height: '0px' }); var Accordion = new … | |
Hi all. I basically need to know how to get a link's href value using the getelementbytagname code and storing that value in a variable so it can be used later in the same function. Thanks, Max | |
I'm reading the specs on a development framework, and it touts [I]No JavaScript namespaces or API architecture [/I]and I'm wondering what exactly this means, and why it's a good thing? Cheers! | |
I have an html form with multiple fields. Some of the fields are required, others are not. I have a JavaScript validation form that will send an alert if a field is empty. However, I only want it to send an alert if a required field is empty. How do … | |
Any input is appreciated. [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="text/javascript"> function validateForm(form1) { alert("Please enter your name."); } </script> </head> <body> <form name="form1" id="form1" method="post" onSubmit="validateForm(form1);"> <input type="text" id="name" name="name" /> <input type="submit" name="SubmitName" value="Submit" /> … | |
I'm not sure where to exactly post this. There is a website called mint.com which let's you enter your username and password for a bank, stock broker, etc and the aggregates all your information from all different accounts onto one screen (balances, transactions, etc). How does mint.com do this? I … ![]() | |
I'm stuck with a big problem. :sad: :sad: :sad: I have the following script resizeing my iframe based on height. The problem is if my site is on one domain say [url]http://mydomain.company.com[/url] and the target page is on another domain say [url]http://anotherdomain.mycompany.com[/url] the script does not resize the page. I … | |
Hi Guys hope you can help me I am using the following AJAX code to get SUB-Buttons. If no new button is selected I need the main button to revert back to the originally selected main button on mouseout with a timeout function or delay please help. so the code … |
The End.