jquery x 2,329

20,316 Topics

Member Avatar for
Member Avatar for kvdd

Hello, I am a bit a loser with JavaScript, but I found the following code to auto scroll a multiple select box to the last selected item. [CODE]Function autoscroll() { var lst = From1.Listbox1 if ((lst.multiple==true) && (lst.length>0)) { if (lst[lst.length-1].selected==true) { lst[lst.length-1].selected=true; return; } else { lst[lst.length-1].selected=true; lst[lst.length-1].selected=false; } …

Member Avatar for kvdd
0
2K
Member Avatar for jeffro25

Here is my problem. I built an website for a pizza cafe and I built an application for online ordering. When it came to placing the order, i give them the option to pay using cash of using credit card. If the customer selects cash, then a text box for …

Member Avatar for Will Gresham
0
66
Member Avatar for boyetp

Hi there, I'm new to this forum. I need help on how to maximize a table cell height. First I have a table layout that has 3 rows, the first and third rows have fix 50px height. I want to max the height of the of the 2nd row to …

Member Avatar for kashinathn
0
474
Member Avatar for jobojo

I am new to JavaScript and have what may be a very simple and easy question to most. I am writing a simple block of code that I need to display dollar amounts with 2 decimals for change. For example instead of displaying the number 5, I need it to …

Member Avatar for Shanti C
0
160
Member Avatar for mohammadz

hi guys, im building an e-shop website and i have alot of pages there. Here's how it works... The client will surf the site, choose the product he wishes to buy and checks on a textbox that says "add to cart". now when he chooses all he wants, he then …

Member Avatar for mohammadz
0
162
Member Avatar for andy_b42

Right, my problem is that i want to place a hyperlink (or a button, i am not really concerned about what it looks like for the time being) within a quite large form that i want to use to pass some variables to another page. I have already tried something …

Member Avatar for andy_b42
0
188
Member Avatar for craigaw

Hi, I'm not sure which forum to put this in, so I'll take my best guess. I have an ASP.NET page where when an ASP.NET button is clicked, it (among other things) fires a one-line JavaScript to open a pop-up (separate) window that the user can do things within. This …

Member Avatar for rishabh2011
0
118
Member Avatar for kevin wood

as iframes are now depreciated as of xhtml 1.0 Strict is there away to replace these using Ajax. this is something i have heard off but have never come across and would like to know if this is possible. I have used iframes in the past to display content from …

Member Avatar for fsav
0
163
Member Avatar for anton-shirikov

Hello all! I am just starting Ajax... is there anything i need to install on PC? i already have WampServer 2.0c Thou Ajax doesn't seem to work on it.. thanks!

Member Avatar for anton-shirikov
0
115
Member Avatar for kondaluavula

<h:inputText id="textId" autocomplete="off" style="width:100%;height:100%" onkeyup="getSuggestionValues(this.value)" > <a4j:support event="onclick" reRender="datatable,definition,tagno,ind1_def,cbpossiblevalues,ind2_def,cbpossiblevalues2" /> </h:inputText> <div align="left" class="box" id="autocomplete" style="position:absolute;width:400px;height:200px;background-color:#ffffff; overflow:auto;" > </div> This is my actual code, the purpose is, when i entered a text in the text field, it gives the related suggestion, when i click a particular suggestion then rerender the …

0
48
Member Avatar for Shanti C

Hello Every Body I Am Using PHP AND JAVASCRIPT i am using two images on my page at run time 1. first i drag one image on another 2. after that i write some text using a prompt box which is written on the dragged image at run time 3. …

Member Avatar for Shanti C
0
113
Member Avatar for momukhtar

I have a Ajax / PHP timer code that would run and update timer on a webpage for 2 hrs. But in IE the time does not refresh and maintain its initial value. [code] <?php function timeDiff($startTime) { $tNow = date("h:i:s"); //echo $tNow."<br/>"; // Extract $current_date h:m:ss $current_hour = substr($tNow,0,2); …

0
43
Member Avatar for boyetp

Hi All, I have a wierd problem in IE6 and IE 7 were the cursor inside a input=text box won't move to the end of the text char. This only happens when you put a FILTER: progid:DXImageTransform.Microsoft.alpha(opacity=100) style of the div that wraps around it. Just put the cursor in …

0
74
Member Avatar for Mylena

Hello, This is just an extraction from the code. The code below works really well in Mozilla Firefox, but does not work with the <a> and <font> tags in any other browsers. When I remove <a> and <font> tags, it works in other browsers... If anyone can spot the problem, …

Member Avatar for Mylena
0
125
Member Avatar for Thirusha

My head is telling me that the answer to this question is going to be NO, but hopefully i m wrong. I have a servlet which gets redirected using RequestDispatcher to a jsp page, the jsp page has some html input fields. In the servlet i get the values from …

Member Avatar for Thirusha
0
150
Member Avatar for agz86

how can i restrict the non integers entered on the textbox on the gridview using javascript

Member Avatar for Kusno
0
51
Member Avatar for Mylena

Hi, I have a web site in which I pass many javascript variables to php and the other way round. This is my last passing variable challenge, and I cannot figure it out. There's an alphabet letter that i pass into showhide1(v) function, and i try to pass it to …

Member Avatar for Shanti C
0
121
Member Avatar for Shanti C

Im developing a web page, where i can drag one image upon another background image and merge them... my problem is , i want to know the position of dragged image by the user.. im using php and javascript functions to develop this... please anybody know about this ..please get …

Member Avatar for Shanti C
0
128
Member Avatar for cali_dotcom

can anyone tell me why this does not work: [code=text] <div> <table> <FORM name="search_form" method='POST' onSubmit="return validate_form();" ACTION='jobsearch.php'> <tr><td>keyword:</td><td > <INPUT TYPE='TEXT' NAME='keyword'></td> <td>Industry:</td><td > <select name="cat_id"> <option value="">---select one---</option> <option value="1">Accounting</option> <option value="2">Administration</option> <option value="3">Automation</option> <option value="4">Banking</option> <option value="5">Biotech</option> <option value="6">Bussiness</option> <option value="7">Construction</option> <option value="8">Construction</option> <option value="9">Consulting</option> </select></td></tr> <tr><td>city …

Member Avatar for scru
0
90
Member Avatar for cindyg13

Hello All! I am a super newbie to web design and am in way over my head...Can anyone please help me figure out why I can't view this navigation in IE? It seems to work fine in Firefox and Safari for Windows. Here is the link: [url]http://devilsgulchranch.com/index_new.html[/url]

0
85
Member Avatar for Shanti C

hello all... At my project , need for creating cards online..In detail , i have provided the users with some back grounds,images and text...then user make a card by selecting the backgrounds,images, resizing them,entering text into that final image... To do this , my completed work is : i made …

Member Avatar for ~s.o.s~
0
119
Member Avatar for anithajoe

Hi All, I have created a dynamic menu bar which reads its menu items from a .xml file..That works fine...Now I want to create a submenu for one of the menu item. That submenu should slide out as a golden bar and has to have submenu items on the golden …

Member Avatar for FlashCreations
0
119
Member Avatar for FlashCreations

Hello, I have a problem with my form validator. For some reason it will always return true when it should return false and display and error message (either about a blank username or password). Here is my javascript: [code=JavaScript] <script type='text/javascript'> function ValidateLogin(form) { var error=false; document.getElementById('userError').style.display = 'none'; document.getElementById('passError').style.display …

Member Avatar for R0bb0b
0
125
Member Avatar for odntuk

I'm trying to pass on a URL variable using Javascript and it works fine in Fire Fox but not in IE. I've been reading that IE7 has a problem with GetElementbyID but I don't know how to work around it using the code. Any help would be greatly appreciated. [CODE] …

Member Avatar for essential
0
118
Member Avatar for jobojo

Good evening everyone. I am new here and also new to JavaScript. I have a small assignment that I think I have just about done, but the False part of my conditional expression is not calculating properly. My program keeps 'spitting out' the same calculation of rate times hours if …

Member Avatar for jobojo
0
149
Member Avatar for FlashCreations

Hello Everyone, I was browsing the web today and I cam across a site that had a file called script.do. I have never seen this .do extension and I was wondering the language that it referred to. If anyone knows what the .do programming language is, please tell me. Also, …

Member Avatar for FlashCreations
0
157
Member Avatar for anuj_sharma
Member Avatar for peter_budo
0
60
Member Avatar for flub

Hi, I'm very new to all this and would really appreciate a little help which I think can be done very easily, but I have little coding experience. Let me try to explain what I want to do. I use a site with image thumbnails displayed, and under the thumbnail …

0
56
Member Avatar for r.ranu1

how to connect access data base to the web page using java script.please reply as early as possible

Member Avatar for anuj_sharma
0
93
Member Avatar for virspy

Hello friends, Iam Viru, and iam new to the PHP i want to add list of categories in that, but iam unable to add those, but iam not getting any error message also can any one help me please. is there any error in these please. Thank u in Advance …

Member Avatar for Shanti C
0
130
Member Avatar for drsmith

I am using the following refresh script. It works great in IE but not in FF. Does anyone know how I can make this work in FF? Is it a setting in the browser or the actual code? Thanks DS [code] <script> <!-- /* Auto Refresh Page with Time script …

Member Avatar for drsmith
0
168
Member Avatar for pletch99

I'm having trouble validating my form for missing information. Tried many different functions but when submit the form it will reset the form or it will try to send it. I'm lost any help please. Thanks in advance [code=syntax] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en" …

Member Avatar for essential
0
369
Member Avatar for clueless101

[quote]Can anyone help pinpoint why my script won't work? Objective: user enters starting & ending miles along with gallons used to calculate mpg. Onchange events for first 3 input boxes call the calcMPG function. Thx in advance! [/quote] [code] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> …

Member Avatar for clueless101
0
110
Member Avatar for shiiramari

Hi Guys, Im currently doing a website now that has a lot of png images in it. And because of that, I had to use pngfix for IE6. i have recoded the main page so that the png images are all in the css file. in the menu for the …

Member Avatar for Troy III
0
116
Member Avatar for antwan1986

Hey guys hopefully this is just a quick question. I've a form that is sending data to a PHP script. The form has the following textbox: [CODE] <input id="quantity1" name="quantity1" type="text" value="" /> [/CODE] Whenever it is posted I do the following: [CODE] function isInteger($val) { if (is_int($val)) { return …

Member Avatar for kevindougans
0
144
Member Avatar for agz86

how can i get a name from database according to the letters entering on the textbox using onkeyup()

Member Avatar for ashwintesting
0
100
Member Avatar for omesanni

Hi, I am new to Ajax and I am currently learning Ajax using a textbook by matthew eernisse from sitepoint.com. I am in the first chapter just trying to grasp the basics of Ajax. I am encountering a problem with the code of some ajax code I am working with …

Member Avatar for Shanti C
0
107
Member Avatar for andy_aphale

hello friends, i have created a WEBSITE of an goverment department names Anti Corruption Department. there i have given one option for online users to lodge complaints online i have create a form. user fill all the fields under that form and when he clicks on submit button all the …

Member Avatar for Shanti C
0
91
Member Avatar for Alohavik

Hi I need to make a project about this topic, and I will appreciate ideas and subjections. It is for my computer science degree. I would like to mainly used HTML, CSS and the like, instead of Java which I had enough of. My intention is to implement an opcion …

Member Avatar for sarehu
0
233
Member Avatar for agz86

how can i get a name from database accrding to the letteres entering on the textbox using onkeyup()

0
65
Member Avatar for samarudge

Hi, I have created a site in Fireworks CS3, i go to export and export the file as HTML. If I open the file from my hard drive in Firefox it works fine however if I open it in [url]http://localhost/[/url] the dropdown menus dont work. I get exactly the same …

Member Avatar for peter_budo
0
78
Member Avatar for russscot

Hi all, I am quite new to javascript, and am having no luck in discovering the problem. The following little function works just fine in IE, but does nothing in firefox. Any suggestions? Thanks in advance, Russ [code] function closemeout() { document.closeout.action=window.opener.location.href("<%=sNonSecurePath%>accinfo.asp"); document.closeout.submit(); self.close(); } [/code]

Member Avatar for russscot
0
79
Member Avatar for p_midtlyng

Hello- I need modify this code so that I can have multiple audio segments on one page, with accompanying text and play button. Any help would be much appreciated. P. <?php $filename=$_GET['filename']; $starttime=$_GET['starttime']; $endtime=$_GET['endtime']; print ' <html> <head> <meta name=Title content="Digital Maya Website Audio"> <meta name=Keywords content=""> <meta http-equiv=Content-Type content="text/html; …

0
63
Member Avatar for brr

[CODE]var oC2TD = oTR.insertCell(1); oC2TD.innerHTML = "<select name=lstMAName"+s+" onchange=showMAName(encodeURI(this.value),"+s+")><option selected>- - -Select Account- - -</option> <% for(j=0;j!=i;j++){%><option value=encodeURI(<%=MANAME[j]%>)><%=MANAME[j]%></option><%}%></select>";[/CODE] In the above code i use encodeURI, bcz in listbox i have to select on name, i have to send that name to showMAName function in another .js program, here iam getting …

0
53
Member Avatar for acs_cobra

Hi Guys.., I hope someone can point me in the right direction...... Please :) I have created a shopping cart with a product photo upload section where the path and description of the photos are stored in a sql table. Product photos get uploaded to the website, then the person …

Member Avatar for acs_cobra
0
121
Member Avatar for Stan Jones

There is a similar thread recently, but just different enough, that I thought I should start a new thread. One of my sites has been established for a long time, and most, but not all of the pages in the root www directory are changing to php (and moving to …

0
15
Member Avatar for sarithak

Hi... here i am doing a project like shopping cart.... when we submit Quantity& Cost...it requires mutiplication...when we enterd these two values,it display total amount in that same page itself... So,here it requires onfocus event...plz tell me how we can use here...and also check this below form ....provide [B]hidden fields[/B] …

0
80
Member Avatar for nice_true

Hi! I would be grateful be grateful if I get an answer to this problem...... I have 2 dropdownlists, one contains country names and the other contains states' names. Now what I wish to do is that when i select a particular country from the first dropdownlist, its corresponding states …

Member Avatar for kburb23
-1
315
Member Avatar for virajmm

Hello, I am totally new to PHP...started working on it a week back. I am looking for a innerHTML equivalent in PHP. I need to create a web page with a "Add row" button which when clicked would add 1 blank row on the screen with "remove" button infront of …

Member Avatar for Will Gresham
0
96
Member Avatar for jyotiu

Hi people I am developing a stand alone application that will take a file input and a text input. Now this text will be searched from the text file entered.and accordingly i need to append result in an excel sheet that is timestamp when the serach is done and result …

0
78

The End.