jquery x 2,329

20,316 Topics

Member Avatar for
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
112
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
74
Member Avatar for chaserpm

Hello.. I need some help from the pros. lately I've been getting alot of spam on my site's contact forms. I want to add IP request in my forms so I can block the spammer's IPs. So far I have got the job 50% done. On my site i have …

Member Avatar for chaserpm
0
327
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
320
Member Avatar for amie900218

hello, need help from you guys. 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 Here"); if (name!=null && name!="") { location.href="index.php"; } …

Member Avatar for amie900218
0
137
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
69
Member Avatar for hypeh

Hi guys, I have a program that searches a large quantity of files and performs tasks on the files. can anyone tell me how to do the following: I want to create a "Searching" window that pops up with a loading bar on it. i want the main window to …

Member Avatar for Mitja Bonca
0
122
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
64
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
230
Member Avatar for greeshmapc

Fadein and FadeOut is not supported by IE8. Please let me know any way to fix that.

Member Avatar for Member #120589
0
78
Member Avatar for newbie14

Dear All, In my database I store different vehicles. So each vehicle have different setup of the wheels e.g some 2 infront and 4 at the back some 2 infront and 8 at the back etc. So based on this configuration I would like to programmatically show all the wheels …

Member Avatar for Member #120589
0
101
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
76
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
111
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
156
Member Avatar for starki_28

Hi to all, I have a problem with a timer on an ASP .NET website. The timer has an interval of five seconds and every five seconds a part of the page reloads (UpdatePanel). On this UpdatePanel there are some textboxes where the user can insert some text. While the …

Member Avatar for abelLazm
0
86
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
107
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
165
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
117
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
178
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
118
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
212
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
113
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
66
Member Avatar for Member #891530

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 Member #891530
0
159
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
131
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
81
Member Avatar for moroccanplaya
Member Avatar for pseudorandom21
0
53
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
758
Member Avatar for azegurb

hi All I have script that dont has any forms but there used $_POST method I dont understand that function and why there used $_POST method if there is not any Form here is script [CODE]<?php define('INCLUDE_CHECK',1); require "connect.php"; if(!$_POST) { if($_SERVER['HTTP_REFERER']) header('Location : '.$_SERVER['HTTP_REFERER']); exit; } ?> <!DOCTYPE html …

Member Avatar for azegurb
0
124
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
80
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
711
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
183
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
97
Member Avatar for shredder2794

Hello all, I am trying to strip all of the white space,front and back, from a variable that has the value of a text box in it. I've tried so many different techniques but to no avail... here is an example of some of my code... [code]var firstname =(document.registration_form.FirstName.value); if …

Member Avatar for ivatanako
0
403
Member Avatar for mimsc

Hello all. Im a Java developer, but have been given the extra title of Perl developer also. So im new to the code structure. Basically Im trying to pull the width and height from a url example below and display in an error msg just to test: [url]http://...readimage?1234a&height=10&width=10[/url] [CODE] use …

0
79
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
231
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
128
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
312
Member Avatar for jet101

Guys, Im having trouble working with Jcombobox. I have this action listener in Jcombox that would get the ID of the current selected item which is a query from my db. here's my simple code: //clientName is the variable I declare for my JCombobox. private void clientNameActionPerformed(java.awt.event.ActionEvent evt) { //db …

Member Avatar for mKorbel
0
94
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
349
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
116
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
190
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
127
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
245
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
90
Member Avatar for caitlins5

Hello, I have a popup form that is coded in .aspx, currently we have the address bar hidden in the form popup using Javascript. This works fine in IE but the address bar shows in Chrome and Firefox and we would like it hidden. What coding techniques/ workarounds are out …

Member Avatar for caitlins5
0
197

The End.