15,121 Topics

Member Avatar for
Member Avatar for TechySafi

[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) { …

Member Avatar for TechySafi
0
233
Member Avatar for Gabums

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 …

Member Avatar for ccwtrainer
0
86
Member Avatar for vijaygupta

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

Member Avatar for jkon
0
149
Member Avatar for dantheman50_98

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 …

Member Avatar for dornaled
0
176
Member Avatar for anandhikrishnan

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.

Member Avatar for Akash Saikia
0
122
Member Avatar for veledrom

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 …

Member Avatar for Akash Saikia
0
143
Member Avatar for picarda

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 …

0
67
Member Avatar for brynFlew

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 …

Member Avatar for brynFlew
0
104
Member Avatar for duliduli556
Member Avatar for dyla123

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 …

Member Avatar for McLaren
0
88
Member Avatar for tcollins412

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

Member Avatar for McLaren
0
78
Member Avatar for amie900218

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 …

Member Avatar for McLaren
0
100
Member Avatar for pspunlimited

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!

0
65
Member Avatar for erum

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 …

Member Avatar for erum
0
268
Member Avatar for hameed.rao

hi guys, i make a website but my php file is not run so can you tell me. plz thanks

Member Avatar for svmer
0
57
Member Avatar for vforchova

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(); …

Member Avatar for R0bb0b
0
218
Member Avatar for crestars

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 …

0
63
Member Avatar for vforchova

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(); …

Member Avatar for R0bb0b
0
1K
Member Avatar for Erickk

[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 …

0
90
Member Avatar for kudenv

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 …

Member Avatar for kudenv
0
141
Member Avatar for Erickk

[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 …

0
94
Member Avatar for Kniggles

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]

Member Avatar for Kniggles
0
153
Member Avatar for kingjes

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 …

Member Avatar for kingjes
0
93
Member Avatar for pato wlmc

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 …

Member Avatar for pato wlmc
0
4K
Member Avatar for newbieJS

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 …

Member Avatar for tcatt
0
3K
Member Avatar for raf11

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 …

Member Avatar for raf11
0
167
Member Avatar for vijaygupta

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 …

Member Avatar for vijaygupta
0
104
Member Avatar for newbie14

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 …

Member Avatar for happytogether
0
186
Member Avatar for ebanbury

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 …

0
99
Member Avatar for ubi_ct83

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?

0
58

The End.