15,699 Topics

Member Avatar for
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
181
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
124
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
146
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
69
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
105
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
90
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
79
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
103
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
70
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
293
Member Avatar for Egypt Pharaoh

How can I add a jquery code block like this [CODE]<td><tt> Name: '.$_POST['name'].' </tt></td> </tr> <tr> <td><tt> Surname: '.$_POST['surname'].' </tt></td> </tr> <tr> <td><tt> E-Mail: <a href="mailto:'.$_POST['email'].'">'.$_POST['email'].'</a> </tt></td> </tr> <tr> <td><tt> Message: <br><br> '.$_POST['message'].' </tt></td> </tr> </table> </body> </html>';[/CODE]

Member Avatar for macneato
0
57
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
60
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
223
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
92
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
143
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
97
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
156
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
97
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
169
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
107
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
190
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
103
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
61
Member Avatar for ShandyElliott

How do I reference a div in a form when there are multiple forms on a page? Each form will have a unique id. I'm trying to change the style.display of a div in a particular form. I can alter elements inside that div (whether they have id's or names), …

Member Avatar for ShandyElliott
0
140
Member Avatar for hindu times

Hi there, I wondered if you could help me. I'm currently using Colorbox on a page (which is actually going to appear within an iframe in Facebook) - [url]http://www.rjthompsonmusic.com/facebook/fb_store_music_test.html[/url] I'm trying to get it so that when a user clicks the Buy button on the Colorbox (click the cd artwork …

0
125
Member Avatar for branding4you

Hey I have a serach page with several dropdowns that changes country state city as you select them, an then tehres type that has general best priced and special listed in it, (AJAX and javascript) i want to change it so that when the user select "Specials" that it does …

0
73
Member Avatar for Elbudster

Hello, For a web app I am building, I am dynamically loading additional JavaScript and CSS files on demand (after the initial page load). According to the html specs, both the <script> and <link> elements support the onload event. I can get <script> tags to load and fire an onload …

Member Avatar for matsko
0
654
Member Avatar for sandra500

Hi Everyone, I am new to this forum and a total newbie, and it looks like the most interesting place to ask this question. I am trying to come up with an easy instant price quote calculator in javascript for a window blinds website i want to start. The price …

0
77
Member Avatar for rejisha

hi friends.... Can we check whether the javascript is enabled or not in the client browser??? thanx in advance....

Member Avatar for jdjdjks
0
694
Member Avatar for Niveditya

ajax.html [CODE]<html> <head> <title> Ajax at work </title> <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 …

Member Avatar for Niveditya
0
177
Member Avatar for pspunlimited

I want to ask regarding ajax tab container. the scenario would be. the user must complete first a specific requirements that is need to fill up. and when it is now filled up. by clicking the next button. a next tab container would appear next to it and the next …

0
93
Member Avatar for Clanstrom

Hi there. Thinking about creating a membership registration-enabled website, that will store people names and some info about them, after they register, but what i can't begin to make is a PHP code that whenever, a user searchs ( In a search box ) a name of another user, that …

Member Avatar for ivatanako
0
207
Member Avatar for Clanstrom

Hi there all, just joined today loved this site already. My Question is that. i am trying to create 6 Menus for my Web. like Eg { home, about us, service ..... } and i want the images to change whenever the users mouse hovers the menu's. I got the …

Member Avatar for Clanstrom
0
221
Member Avatar for hindu times

Hi there. I'm currently using the code below to trigger the "Post To Wall" script in my Facebook iframe app (the script that allows a user to post a certain piece of content to their wall). I'm pretty dense with this stuff, so I was wondering how I go about …

0
116
Member Avatar for Dean_Grobler

Hi there guys, I would just like to know how I would go about by searching through a <select> list in an HTML page? I assume one would use JavaScript for something like this. On the HTML page there's a textbox which the user can type in a keyword, and …

Member Avatar for haleel
0
7K
Member Avatar for jainam08

hello.. i'm having web page having javascript, css, HTML, etc, and i'm using mozila firefox browser, its working fine but when i'm going to open it on Internet Explorer the resolution is getting changed, so i'm not getting this problem. i know one procedure in javascript it is browser sniffing …

Member Avatar for jainam08
0
297
Member Avatar for sciprog1

Hello Members, Can anyone recommend any easy-to-use and free JavaScript IDEs? Thank you!! sciprog1

Member Avatar for ivatanako
0
327
Member Avatar for hamburger_lover

Hy! A friend of mine recently told me that, now, in 2011, [I]Ajax [/I]is a [B]pure [/B]synonym of [I]DHTML[/I], and that DHTML is an old world that we should not use anymore. He told me that it is called "Ajax" as long as you use standard technologies (XHTML, JavaScript, XML, …

Member Avatar for ivatanako
0
113
Member Avatar for newbie14

Dear All, Below I have a code which when press the add button will keep adding the row. I would like to learn further about jquery. Why must we always include jquery-1.5.1.min.js is that the functionality is it? Next why must we call table.dynatable is the dynatable is the id …

Member Avatar for newbie14
0
180
Member Avatar for filch

At [url]http://streetkids.zuka.net/sandbox/map-new.05.html[/url] the app you see there works as expected in IE8 and Firefox etc. But, IE7 does not work. While the plugin I used does indeed seem to function under IE7, mine is not and I have not been able to track it down. This functionality was built from …

Member Avatar for filch
0
115
Member Avatar for AMADH

Hello, I am trying to learn how to use animation, and i have it working a little but I can't get it to move my box. I was wondering if someone might be able to let me know what I am doing wrong here. [CODE]<script language="javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js" type="text/javascript"></script> <script type="text/javascript"> …

Member Avatar for AMADH
0
238
Member Avatar for tyson.crouch

G'day guys, Given that I am (sort of) new to javascript I have the following code; [CODE]<html> <head></head> <script type="text/javascript"> [INDENT]function insertBold(tArea){ [INDENT]var unselectedText = tArea.value; var selectedText = tArea.value.substr(tArea.selectionStart, tArea.selectionEnd); var v = "[B]" + selectedText + "[/B]"; var temp_array = tArea.value.split(selectedText); tArea.value = v;[/INDENT] }[/INDENT] </script> <body> [INDENT]<textarea …

Member Avatar for haleel
0
79
Member Avatar for zac1987

index.php file <script type="text/javascript" src="../lib/jquery-1.4.2.min.js"></script> <script type="text/javascript" src="../lib/jquery.jcarousel.min.js"></script> <script type="text/javascript"> jQuery(document).ready(function() { jQuery('#mycarousel').jcarousel({ vertical: true, scroll: 3, visible: 12 }); }); </script> <ul id="mycarousel" class="jcarousel jcarousel-skin-tango"> <li>I love you haha.</li> <li>I love you haha.</li> <li>I love you haha.</li> </ul> --------------------------------------------------------------------------- From the above code, I use firebug to inspect the …

Member Avatar for zac1987
0
202
Member Avatar for kerp

Hi During the last 6 months or so I've worked on and off on a couple of a classes to send data over network using winsock and asynchronous sockets on windows. Basically my system works like this. The server will send packets on a connection until WSAGetLastError() returns WSAEWOULDBLOCK the …

Member Avatar for gusmcn
0
514
Member Avatar for zizuno

This is just a dumbed down version of my web application. I successfully did an on submit earlier but deleted it somehow. So I deleted everything not essential to make sure nothing interferes. If I remove the submit part, it appends just fine. I am a noob with jquery, help …

0
52

The End.