15,699 Topics
![]() | |
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 … | |
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] | |
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? | |
![]() | 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), … ![]() |
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 … | |
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 … | |
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 … | |
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 … | |
hi friends.... Can we check whether the javascript is enabled or not in the client browser??? thanx in advance.... | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
Hello Members, Can anyone recommend any easy-to-use and free JavaScript IDEs? Thank you!! sciprog1 | |
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, … | |
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 … | |
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 … | |
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"> … | |
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 … | |
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 … | |
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 … | |
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 … |
The End.