15,121 Topics
| |
| [CODE]<script language = "javascript"> var XMLHttpRequestObject = false; if (window.XMLHttpRequest) { XMLHttpRequestObject = new XMLHttpRequest(); } else if (window.ActiveXObject) { XMLHttpRequestObject = new ActiveXObject("Microsoft.XMLHTTP"); } function getData(dataSource, divID) { if(XMLHttpRequestObject) { var obj = document.getElementById(divID); XMLHttpRequestObject.open("GET", dataSource); XMLHttpRequestObject.onreadystatechange = function() { if (XMLHttpRequestObject.readyState == 4 && XMLHttpRequestObject.status == 200) { … |
Hello all, I am very new to JQuery and thought I'd go about teaching myself. I took three different codes I found online and combined them for my site. I used: accordion menu ([url]http://www.i-marco.nl/weblog/jquery-accordion-3/[/url]) a sliding menu and coda-slider2.0 ([url]http://www.ndoherty.biz/demos/coda-slider/2.0/#1[/url]) The combined menu works great for my main navigation but … | |
hello , I am writing a validation code in which i have validate two feilds and check if the feild username and email already exist in the database. please help | |
Hi There, I'm redesigning a website for a client in ekmpowershop and I've set up a small jquery script to add the class "test" to the parents of all uls that have a child containing a div with a class of .sub. This is with the purpose of adding an … | |
Hi I have a text box element in html.I need to call onfocus function of this text box from js file. I using like this document.formname.elementname.focus(); elementname is text box name formname is its form name This code works fine in IE but not working in mozilla..... suggest me anyone. | |
Hi guys, I have two questions, I wonder if they are possible to implement. 1. [ICODE]<form action="nextform.php" method="POST">[/ICODE] Is it possible to hide nextform.php from other users as I don't want anyone seeing where the data is being POSTed. Or similar solution. 2. Is it possible to hide javascript files … | |
Hello, I build a 3 steps form with jQuery slider, step 1 is contact information, step 2 some options and at step 3 I want to create a summery of this form. To be more clear, you got at step 3 by a "next step" button and I want to … | |
I have some code that adds and removes rows from html tables, the problem is that it does not save the rows if the page is submitted or refreshed. I also cannot see the added attributes in the source(how can i use them)what their ids and names are, so i … | |
Hi guys , I just wanna know that what Is DHTML Script? Thanks | |
I have copied this from w3 schools and tried to edit it to work for my txt file but when i click the link to retrieve the data it doesn't respond to me. Any way you can help me? There is the code i am using. And the txt file … | |
i have a pop up div that i want to close onmouseout. but it keeps closing when it rolls over a child element. Can anyone help me? thanks in advanced | |
hello, i'm very dull at js, so i hope you guys can help me. ok, i have create a prompt box that will ask user to enter a password, and this prompt box will take user to secured page. [CODE] <script type="text/javascript"> function show_prompt() { var name=prompt("Please enter your password","Fill … | |
i have this problem. i want the tab to appear next to the next tab whenever i clicked the button in the san disc... the back=up tab will appear as i clicked the button in the san disc. thanks! | |
i have this code in aspx page [CODE] <div id=date_check visible=true runat=server> <strong>Check-In Date</strong> <asp:TextBox ID="txt_checkin" runat="server" onchange="checkdate(this);"></asp:TextBox> <a href="javascript:calendar_window=window.open('calendar.aspx?form1=form1.txt_checkin','calendar_window','width=554,height=488');calendar_window.focus()"> <img alt="" src="images/calendar.png" /> </a> <strong>Check-Out Date</strong> <asp:TextBox ID="txt_checkout" runat="server" onchange="checkdate(this);"></asp:TextBox> <a href="javascript:calendar_window=window.open('calendar.aspx?form1=form1.txt_checkout','calendar_window','width=554,height=488');calendar_window.focus()"> <img alt="" src="images/calendar.png" /> </a> </div>[/CODE] [CODE]<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="calendar.aspx.vb" Inherits="gfln1.calendar_aspx" %> <!DOCTYPE html PUBLIC "-//W3C//DTD … | |
hi guys, i make a website but my php file is not run so can you tell me. plz thanks | |
Hello everyone, I need help with my javascript code. I'm trying to create a dynamic table with onclick event like this but onclick event seems to do nothing: [CODE] var srcTable = this.iContext.getElementById("tbody"); var tmpRow = null; var tmpCell = null; var i; for(i=0; i<5; i++) { tmpRow = srcTable.insertRow(); … | |
First let me introduce myself as Miss Beginner of all time!...I recently took upon myself to give myself a challenge and take a beginner's javascript course...in my first assignment i have to display certain scripts...i have accomplished everything so far except on my second page i would like to have … | |
Hello everyone, I need help with my javascript code. I'm trying to create a dynamic table with onclick event like this but onclick event seems to do nothing: [CODE] var srcTable = this.iContext.getElementById("tbody"); var tmpRow = null; var tmpCell = null; var i; for(i=0; i<5; i++) { tmpRow = srcTable.insertRow(); … | |
[CODE]<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server"> <script language="javascript" type="text/javascript"> function run(){ if (document.txtbox.value.length==0){ alert("BLANK"); } } </script> <form name="test" action="javascript<b></b>:void()" method="get"> <input type ="text" name="txtbox" value="" /> <input type ="button" name="btn" value="CLICK" onclick="run()" /> </form> </asp:Content>[/CODE] I'm using masterpage and the above code is on dafault.aspx, I wanted to place some JS … | |
i have a Menu that show or hide than a rolls the mouse pointer into ( mouseover ) and ( mouseout ) an element's space. But whan i fire mouseout an element space to hide menu, the open shave works only if i move mouse pointer an top eletment list … | |
[CODE]<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server"> <script language="javascript" type="text/javascript"> function run(){ if (document.txtbox.value.length==0){ alert("BLANK"); } } </script> <form name="test" action="javascript:void()" method="get"> <input type ="text" name="txtbox" value="" /> <input type ="button" name="btn" value="CLICK" onclick="run()" /> </form> </asp:Content>[/CODE] I'm using masterpage and the above code is on dafault.aspx, I wanted to place some JS … | |
Can anyone see why this dos not work please [CODE]<HTML><HEAD><script type="text/javascript"> function x() { <IFRAME( src="inputstringA" name = "bob1" ></IFRAME> ); } </script><TITLE></TITLE><META name=GENERATOR content="MSHTML 8.00.7600.16722"></HEAD><BODY> <INPUT value=www.website2.com name=inputstringA> <INPUT onclick="x()" value=" Press Input A$" type="button" name="loadb"></TD> <IFRAME src="www.website1.com" name = "bob1" ></IFRAME></TD><TD align="center" width="556" vAlign="top" height="23"> ></BODY></HTML>[/CODE] | |
Hello, I have a form that I need to add the feilds together as a total but it is not working. I have a JS that is doing taking the value from a select box then multiplying by .2 after this is done it is writting the result to another … | |
Well, I'm really new into JS and I'm actually more into C++, but I decided to give it a try since I'd love to develop some online games, using the new Canvas element HTML5 is providing. But before that i need to get the basics. What I'm trying to do … | |
Hi there, I have two prompt dialogue boxes that ask the user the enter their name and their employee number. I am experiencing two errors. The first is, if a user enters their name incorrectly, using numbers for example, there is an error message that asks the user to re-enter … | |
i need some advice on where im going wrong with my code its not giving me any error but its not working the way it should be. when someone types in the serach box a message title it should tell me what messages are in the database with that title … | |
Hello, I am writing a code to for a registration form in php,i am done with adding field to database the problem is "validation" there are msnu feilds in the form .I have to validate two feilds in my form username and email before submiting (in short i have to … | |
Dear All, I am using third part tab. So I have build the tabs nicely and include the code like below. The problem now is that when one of the tab is press it call the javascript. So that is when I dont know how to pass the $dD or … | |
Hi I currently have a form in which you select from the prop_type field and then a field with the relevant subtypes shows up. The saletypes are currently in 5 separate fields right now (saletype1 -5), all showing records from the same mysql table, using a different recordset each. They … | |
hi guys, i have an error to update database because of variable. this is my code UPDATE `payment` SET `check`=1 AND 'amount'=$amountpaid WHERE `check`=0 AND `userid`=$uid $amountpaid id the amount of bill that user paid and $uid is user id.anyone knows how to use variable in sql? |
The End.