jquery x 2,329

20,316 Topics

Member Avatar for
Member Avatar for mehmedean

hi, I use an image button to post a form. Let's say the button is on A.php and form target is B.php. when clicked, B.php comes but with extra arguments in the url. As far as I understand they are the coordinates of the point I clicked on the button …

Member Avatar for mehmedean
0
410
Member Avatar for gujinni

hi guys! Thus anyone know how to put timer in bubble sort using javascript??? I am trying to make a timer for my sort but I can't make it. I don't know how to connect... heres my work.. <html> <head> <title>sortBubble</title> </head> <script> <!-- Begin var myArray = new Array(102,201,3,517,77,345,68,234,8,9,4,517,6,0) …

Member Avatar for MartinRinehart
0
167
Member Avatar for aldm

Hi, I have a div element which have a lot of other divs inside. Inside that divs are also div elements. Now, how can I change width of every div element inside wanted div using jquery (all levels of children). Example [CODE] <div id="1"> <div id="2"> <div id="3"> </div> </div> …

Member Avatar for MartinRinehart
0
258
Member Avatar for Silo45

[code=Javascript] //JavaScript function checkCountry(slctFild) { if(slctFild.selectedIndex==1) { showStateSelectBox(); hideProvinceSelectBox(); } else { if(slctFild.selectedIndex==36) { hideStateSelectBox(); showProvinceSelectBox(); } else { document.getElementById("00N200000013FlZ").selectedIndex = 0; // ERROR gets thrown here!!! document.getElementById("00N200000013Flo").selectedIndex = 0; hideStateSelectBox(); hideProvinceSelectBox(); } } } [/code] [code=Html] //HTML Registraton Form <select id="00N200000013FlU" title="Country" onchange="checkCountry(this)" name="00N200000013FlU"> <option value="" selected="selected">--None--</option> <option value="United …

Member Avatar for Taywin
0
2K
Member Avatar for dr.4030

hi every body i have template that it contains this type of java script for displaying wallpaper in the main screen : [CODE] <!-- JAVASCRIPT TRIGGERS --> <script type="text/javascript"> $(document).ready(function(){ $("a[rel^='prettyPhoto']").prettyPhoto({ theme: 'dark_square' }); }); $.backstretch("images/background-home.jpg", {speed: 'slow'}); </script> [/CODE] and i wanna change it to this form : [CODE] …

Member Avatar for cwarn23
0
148
Member Avatar for phorce

Hello, I was building a web chat system using jQuery, PHP, and mysql and it's working, the thing is that someone informed me that it will strain the server if I do it this way, and suggested I used "Comet Polling" for it, but I have never heard about it …

Member Avatar for Member #120589
0
66
Member Avatar for Nollyvenon

Can someone help please i have a code and want the quantity to be retrieved from the database and loaded to each textfield row.can someone help debug. thanks. <SCRIPT LANGUAGE="JavaScript"> function getValues(objName,objName2,objName3) { var var3 = ""; var arr = new Array(); arr = document.getElementsByName(objName); arr2 = document.getElementsByName(objName2); arr3 = …

Member Avatar for Member #905211
0
207
Member Avatar for phorce

Hello, I am working on a chat application in jQuery and I have used the function setInterval(), however, it doesn't seem to refresh the div element.. Or load it for that matter.. Here is the code: [code] <!DOCTYPE html> <html> <head> <style> #shoutbox { width: 400px; height: 400px; border-style:solid; border-width:5px; …

Member Avatar for Member #905211
0
291
Member Avatar for Sarama2030

hi guys.Im trying to program an image link from server code such that when you click on the link it calls a server side program to do more stuff like open a new window and write more details pertaining the selected item.its just like in facebook and elsewhere when you …

Member Avatar for Member #905211
0
109
Member Avatar for poonamrohila

I want to move my table data vertically means from bottom to top Continues without taking any gap when page is loaded can any one tell me how could i do this using jscript query

0
58
Member Avatar for kacprek

The problem is as follows. When I enter to some page from my site clicking the link (FF browser), I am redirected to an unwanted site. And some window pops-up where you can choose whether to stay or leave the site. When you click I want to stay, the window …

Member Avatar for kacprek
0
329
Member Avatar for kaosjon

Hi i am trying to develop my registration page it is a combination of multistep (tabs) with real time validation which is sort of working ok, it validates on entry which is really good, however when i include the script [CODE] <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js" charset="utf-8"></script>[/CODE] which is for the form …

0
84
Member Avatar for maximchris

Hello, I want to implement a 3d environment, at first will start with a cube. And i want to implement a click event for this object, like Click event for a button. The problem is i don't know how to implement this, or where to start. Can someone give me …

Member Avatar for skatamatic
0
191
Member Avatar for arctushar

Hi I have an website. Where people may write short messages. Now I want that home page will display 10 recent messages from those posts. So I want that New message will be shown and one oldest will be remove. All this will be down by ajax. Can anybody help …

Member Avatar for toms ace
0
160
Member Avatar for patel28rajendra

I have gridview which display images previous and next. i want to popup (display) big image of particular image which is cllicked. Please help me.

Member Avatar for carrieathomer
0
151
Member Avatar for kaleeswaranm

Hi, Can any one tell me how to pass a value from jsp to javascript both being different files.. ie a.jsp , b.js.. I have a hidden value in jsp i want to get its value in the javascript file. thank you, kaleeswaran

Member Avatar for shivnal
0
4K
Member Avatar for Member #918619

Hi there, I would like to implement a web based UI that allows people to drag and drop "chairs" and "tables" onto a floor layout (grids) and save it to their profile by storing in the database. I am wondering how do I start doing this? I am using vb.net …

Member Avatar for codeorder
0
232
Member Avatar for RazorRamon

Ok this is as basic a jquery coding as you can get.. Why does div id=tx show on load??? I'm testing this on wamp localhost...www folder. Any help?? Is there anything i need to do to save the jquery.js? jquery.js is in the same folder as this page. [CODE] <html> …

Member Avatar for Member #905211
0
206
Member Avatar for KINGMAKER'S
Member Avatar for hericles
0
187
Member Avatar for asif49

It's taken me a long time trying to fix this and I still haven't found out how to do it. My knowledge of javascript/jquery isn't great but for the website I'm building I tried experimenting with some, reused some code (reuse was allowed by author) for a content gallery and …

Member Avatar for Troy III
0
62
Member Avatar for Moderns

Hello Fellows :) I am trying to find a way to get more than one characters pasted on html text field (input type=text), using onkeydown or onkeypress, I am NOT interested in onkeyup(it works), so please do not suggest me this solution. Also I am not interested in Jquery, I …

Member Avatar for Moderns
0
451
Member Avatar for asif49

I use the following function to expand the footer border for a website I'm creating: [CODE] <script type="text/javascript"> var x=5; <!--original height--> function expand() { document.getElementById("footer").style.height=x+'em'; <!--Gets the height from css.css in the div "move"--> if(x>10) { <!--Desired height after expansion--> clearTimeout(t); return; } x++; <!--desired height isn't yet reached, …

Member Avatar for asif49
0
198
Member Avatar for extemer

Hello guys i learn something new so i thought to share it with you people.This tutorial is about when you search some data in a search bar and as you enter any key word e.g 'a' so it start looking for keywords starting with 'a' and highlight it.In this way …

Member Avatar for Taywin
0
181
Member Avatar for Monster Killer

Hello. I am trying to create a javascript date/time script to display the current GMT date, but obviously because javasceipt is client side it displays the clients current date not the GMT date. Does anyone know how i can get javascript to show the current GMT date to anyone (even …

Member Avatar for Taywin
0
192
Member Avatar for prashanth18

i have a code to add and delete of divs when i click add button div was creating and on delete button div was deleting but i need with single link when on first click div has to create on same link if we click on second time div has …

Member Avatar for Taywin
0
165
Member Avatar for jacob21

I have a form having validation given below in java script. The problem is when i am inserting form data in a database,if there is any validation error,still added in database. please give me suggestion where to use PHP code I am using this code for insertion [CODE]<?php if(isset($_POST['submit'])) { …

Member Avatar for cereal
0
179
Member Avatar for Infame

Hello people! :D I have run into a small problem on my website. I decided to create a javascript/ajax/mysql search bar that gives you a list depending on the result... Now, my problem is that the div element just drags the website down... Is there a way to 'overlap', instead …

Member Avatar for carrieathomer
0
51
Member Avatar for vitaquous

I have no idea if I am doing this correctly. Eight years ago I was a C++ programmer, then I left the industry. I am lost and have been reading heaps on the web but do not know where to begin. I wrote a MySQL DB, I have populated the …

Member Avatar for vitaquous
0
256
Member Avatar for anandhikrishnan

Can any one help me reg this. I am working in web application project. In this on a div i have double click event to open a popup box, in android browser if i did double click then it fires zoom in event. Please any one help me javascript code …

Member Avatar for MartinRinehart
0
129
Member Avatar for masocha

l have got a series of menus. What l want to do is change the background-color of the link onclick. What l have done use jquery like this [code]jQuery('.menu a').click(function(){ var clz = jQuery(this).attr('id'); jQuery(this).attr('class','active'+clz); })[/code] This is not work.The code needs to work on mobile phones

Member Avatar for MartinRinehart
0
1K
Member Avatar for raviaaaa

HI while clicking calendar button calendar is displaying in IE6 and IE8 but in IE7 browser calendar is not displaying, java script error like obj null iam getting pls help me in this // written by Tan Ling Wee on 2 Dec 2001 // last updated 20 June 2003 // …

Member Avatar for MartinRinehart
0
458
Member Avatar for vinothaviji

Hi everyone... I finished my work upto retrieve the data from database and stored values in table looks like the phpmyadmin table. In table each row has one checkbox.if u click the check boxes the background color of the particular row is changed. my php code: [CODE] if($color==1) { echo …

0
65
Member Avatar for amear

i need function : i want to make game to figure the word meaning e.g: when i wrote a abcdf i want to convert to bacfd and when the page refresh again its change again to another word and never convert to the original word "abcdf " and i want …

Member Avatar for cwarn23
0
135
Member Avatar for jeypijeypi

I am creating a web-based app written in JSF and Java. One functionality of the system is that the user can select a text file from his pc and import it in order to get the data inside the text file. Do you have any idea on how can I …

0
119
Member Avatar for fraandres

my question is how can I output the data on the input box "Order total is" I have try everything but I just stuck on this part, I'm very new on this, I did the function showSum so I can show the sum of the total checkboxes. thank you for …

0
127
Member Avatar for toms ace

Hello everyone, First of all I would like to introduce myself, I'm tom and I spend hours developing websites. Right, down to the serious stuff... I have made a nice little AJAX based commenting system, it shows the 5 latest posts, so, when a user posts a comment the list …

Member Avatar for Airshow
0
254
Member Avatar for Violet_82

HI there, I have a really annoying and strange problem with a script, here's the code: [CODE] <script type="text/javascript"> $(function() { var images = $('.home_page_pic img').hide(); var index = 0; images.eq(index).show(); function swapImages() { images.eq(index).fadeOut(2000, function() { index++; if (index == images.length) { index = 0; } images.eq(index).fadeIn(2000, swapImages); }); …

Member Avatar for Violet_82
0
110
Member Avatar for cdringe1

So I have just started to develop web pages, and spry menus have me a little stumped when it comes to things. However I got this one working in both FireFox, Chrome, and Safari. Internet Explorer, not so much. Anyways, the problem persists even with code changes to the CSS. …

0
49
Member Avatar for extemer

Below code in bold is here i got the problem please help.the problem is while i submit the form a div appear after pressing submit button that data is submitted the div is appearing perfectly fine but the problem is after i inserted this code that is bold below for …

Member Avatar for Airshow
0
197
Member Avatar for mikeSQL

Create the HTML we will be using. I will show the whole code and then break it down so you can see what each thing does. Let's start. Create a new html file called [B]index.html[/B]. HTML Code: [COLOR=#000080]<html>[/COLOR] [COLOR=#000080]<head>[/COLOR] [COLOR=#000080]<title>[/COLOR]AJAX Demo[COLOR=#000080]</title>[/COLOR] [COLOR=#800000]<script src='getnv.js'>[/COLOR][COLOR=#800000]</script>[/COLOR] [COLOR=#000080]</head>[/COLOR] [COLOR=#000080]<body>[/COLOR] [COLOR=#000080]<div id='menu'>[/COLOR] [COLOR=#000080]<ul>[/COLOR] [COLOR=#000080]<li>[/COLOR][COLOR=#008000]<a onClick='check_content("page.php?id=index")'>[/COLOR]Home[COLOR=#008000]</a>[/COLOR][COLOR=#000080]</li>[/COLOR] …

Member Avatar for kosher_12
0
259
Member Avatar for raviaaaa

i have written java script to display calender in IE 6 browser calender is displaying(working fine) but in IE 8 browser if i click the drop down button calender is not displaying pls tell me how to solve even if comaptability mode on

0
73
Member Avatar for matt.clark.228

I am building a page with a member login system on the home page. I right now have it so that if the user does not enter a password or username it will change a div to block style and show the error at the top of the page. Is …

Member Avatar for MartinRinehart
0
163
Member Avatar for davy_yg

Hi I have a bar which dropdownbox so transparant, in a way that I could hardly read its text because its overlap my content text and pictures. But its order superseed the side bar box. I could clearly read its text on the side but hardly read its text on …

Member Avatar for MartinRinehart
0
196
Member Avatar for coleguitajuan

Hello, I'm trying to create a form inside another form that it submits it depending on the option you choose on the select field using the js event "onselected="this.form.submit" but Im not familiar how to use it, the initial code is like that: [CODE]<form name="form1" method="post" submit="form1.php"> <form name="form2" method="post" …

0
69
Member Avatar for davy_yg

Hi I have a bar which dropdownbox so transparant, in a way that I could hardly read its text because its overlap my content text and pictures. But its order superseed the side bar box. I could clearly read its text on the side but hardly read its text on …

Member Avatar for cwarn23
0
193
Member Avatar for Member #120589

Hi all, Trying to get my head around OOP at long last. Finally got to the beggar on my to-do list. Just a quick question: I was looking for a way to persist the object across pages, but on further research, I got the idea that this is a bad …

Member Avatar for Stefano Mtangoo
0
155
Member Avatar for Jaydenn

I enjoy making time capsule-type programs that shows something when the date countdown reaches 0, the only problem is that you can change your computers clock to prematurely make the countdown reach 0. The only way I can think of fixing it is by connecting to a time server and …

Member Avatar for Teme64
0
107
Member Avatar for n3xtgen

I am trying to use the jQuery validation plugin to validate my form but cant get it working. I have the script types in the header: [CODE] <script type="text/javascript" src="/jquery-1.4.2.min.js"></script> <script type="text/javascript" src="/jquery.validate.js"></script>[/CODE] And my Form: [CODE]<form id="taskentry" method="post"> Trip Date<input type="text" class="required" name="trip[Date]" id="tripDate" placeholder="MM/DD/YYYY"/></form>[/CODE] I tried this but …

Member Avatar for extemer
0
236
Member Avatar for Ellyna89

I cannot calculate all total amout about this..How can i do it.?? here is coding: [CODE]<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <title>Untitled Document</title> <script type="text/javascript"> function startCalc(){ interval = setInterval("calc()",1); } function calc(){ one = document.order_form_10.dish1.value; document.order_form_10.totaldish1.value = one * 10 ; } function startCalc2(){ interval = setInterval("calc2()",1); } function …

Member Avatar for MartinRinehart
0
123
Member Avatar for hbk_star2006

Hello Friends, Please help me. I am a new Web Designer.. Don't have strong Javascript Skills. I have just made a website name [url]http://www.bsroadlines.com/[/url] It contains 5 pages. This website has Images Slider Script at the header, which is working perfectly fine on 4 pages except one [B]gallery[/B] page. [url]http://bsroadlines.com/photo-gallery.php[/url] …

Member Avatar for MartinRinehart
0
195

The End.