14,053 Topics

Member Avatar for
Member Avatar for jeffasbrand

I have a need to force all items in a listbox to become selected before I force a submit. I need something to select everything in a listbox called SpacesServed: $("#form1").submit( function() { . . . code goes here . . . } ); Any ideas?

Member Avatar for jeffasbrand
0
103
Member Avatar for kevin wood

hello i am trying to get uploaded to a server using a hidden iframe so the page does not reload. i have a upload.php page which resizes the file and remanes the file. What i thiink should happen is that the php file should be in the iframe and the …

0
89
Member Avatar for bhavna_816

I have a GridView which is geting fiiled on the click of a button have method "FilGrid" I want to use the update panel of AJAX so that the page should not get refreshed at the button click but i m not able to do it .. I have putted …

Member Avatar for srikanthkadem
0
56
Member Avatar for ajithraj

pls help me to set the width of a combo in IE.....is there any way to fixe the width in IE.... In mozilla ,i fixed it using style="width:100px"; thankzzzzzzz

Member Avatar for ajithraj
0
107
Member Avatar for mjs301

I'm hoping one of you javascript guru's can help me because i'm new at javascript!!! I need to return the score from my function and have it emailed with the test results. How do i do it? here is the code: (i know it's mickey mouse but it took me …

Member Avatar for DangerDev
0
89
Member Avatar for LogicWeb

I'm trying to correct some W3C validation errors found at [url]www.logicweb.com[/url] I'm not a designer by trade, but I learn quickly and would appreciate help on this. The code used for the view packages button is below, and the one that caused W3C errors [code] <div id="view_packages"> <h4><a class="view_packages_button" href="/services/hosting.php" …

Member Avatar for LogicWeb
0
85
Member Avatar for prabhashsingh11
Member Avatar for abhishek20

hi all i want to get a calendar in following format.. [Button to change month]{Month}{year}[Button to change year] -- [List of dates horizontally] How it can be done using either Javascript,HTML or Ajax

Member Avatar for DangerDev
0
61
Member Avatar for serkan sendur

function SplitText(text,count) { if(text.length > count) { var _temps = text.substring(0,count); return _temps + "..."; } else { return text; } } Example : var s = SplitText("serkansendur",5); s will be "serka".

Member Avatar for DangerDev
0
61
Member Avatar for serkan sendur

I have searched for a tab menu script for a long time but none of them was flexible enough,then i created one for me. The algorithm is nice so the script is not too long although being flexible. your tab menu is in an html table row as follows : …

0
61
Member Avatar for serkan sendur

Menu is about three things : 1) Position 2) Show-hide 3) Content the Positining function is this : function elementPosition(obj) { var curleft = 0, curtop = 0; if (obj.offsetParent) { curleft = obj.offsetLeft; curtop = obj.offsetTop; while (obj = obj.offsetParent) { curleft += obj.offsetLeft; curtop += obj.offsetTop; } } …

0
67
Member Avatar for serkan sendur

When you assign a source to an image via javascript, it will take sometime to load the image. To get around this problem you can preload the images creating virtual images via javascript as follows : if(document.images) { // create a virtual image var img1 = new Image(); // preload …

0
78
Member Avatar for 7arouf

hey i have a text box and a button on one page. my question is, when somebody writes something in this textbox and presses submit (the button), the output will be shown on other page... so i need to know what code to put Thanks, 7arouf

Member Avatar for DangerDev
0
58
Member Avatar for forzadraco

Helo... Thanks for read my thread... i have problem to make a web page like my.yahoo.com or sourceforge where we wil download and popup newsletter show... where a news click, a new pop-up window show and the web-page(background) become more darker and pop-up window willbe focuss... Anyone can help me...? …

Member Avatar for DangerDev
0
42
Member Avatar for toadzky

I am trying to do a store page for my class. I have a perl script that generates simple HTML tables. The store pages uses ajax to load the tables into the form. The form has all the elements, but when I submit, there query string is empty. I tried …

Member Avatar for toadzky
0
73
Member Avatar for 3265002918

hey im really new with javascript. can someone tell me whats wrong with this? [CODE]<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta http-equiv="content-type" content="text/html; charset=windows-1250"> <title>calculate distance and slope between two points</title> <script language="javascript"> <!-- var x1=0; var y1=0; var x2=0; var y2=0; var xdif=0; var ydif=0; var …

Member Avatar for ~s.o.s~
0
97
Member Avatar for hyperoctave

I will start this thread with a problem that I am trying to solve. I have searched for a solution, and can't find one, and daniweb.com users have been a great help in the past. This is a tricky one for me.. I hope we can find a solution. All …

Member Avatar for hyperoctave
0
592
Member Avatar for abhi287

Hi all On my jsp page i m having two tables.. first table have 14 rows which takes input type=text. and my second table is having 9 rows which also takes 9 inputs. Thus total 23 inputs on a form.. Now when the user click submit, i want to check …

Member Avatar for abhi287
0
70
Member Avatar for ajithraj

haii... pls help me to get the cursor position in javascript....from textArea thankzzzzzzz

Member Avatar for ajithraj
0
84
Member Avatar for HenryForbes

Help, I have a web based form containg values typed in by the user. The first value is called noItems, which is outside the form. The form contains a persons name, the number of items,noSub, thay have submitted and their final grade. I need to use noItems and noSub to …

Member Avatar for MidiMagic
0
148
Member Avatar for jiggy_g

Hello List! I'm having a problem getting a line break/feed on a page...I'm passing parameters from one page to another (this particular one is being passed to a textarea), and would like to pass them with page breaks between them... Here's my current code [code] <script language="javascript"> openIssuesWindoid('../../GUtilities/IssueCreator/IssueCreator.asp?name=<%=session("userFullName")%>&email=<%=session("userEmail")%>&summary=Station Type Change …

Member Avatar for ~s.o.s~
0
86
Member Avatar for michael123

I have a form text field called "field_0", and javascript code: [ICODE] <script language="javascript"> function test() { var a=document.form1.field_0.value; alert (a); } </script> <form name=form1 ....> <input type=text name=field_0> <input type=text name=field_1> <....onclick='javascript: test();'> </form> [/ICODE] if I run this, it pops up correct message box with the "field_0" value. …

Member Avatar for ~s.o.s~
0
115
Member Avatar for smithsf22

Hello, I am new to this and have run into a small problem. I am using the Ajax toolkit with VS 2005 to fill some drop downs through a web service and it works great. All of the cascading drop downs work correctly. The only problem I have is I …

Member Avatar for smithsf22
0
72
Member Avatar for sweat17

i have a web page with an array of text messages which i want to 1) shuffle, and 2) scroll. first the shuffle part. right now i can scroll one random message per refresh of page. i want to shuffle the list and then change the scroll function to display …

Member Avatar for DangerDev
0
77
Member Avatar for suganzeni

Hi all i working with HTML when my first web page is going to displayed it should be in the width and height according to my need . like a rectangle window or square or like a pop up window. How can i set the width and heght for the …

Member Avatar for DangerDev
0
53
Member Avatar for justted

Hello everyone, For the navigation of my website I have decided to use a Drop Down Menu which I have inserted into the side menu template so it shows on every page. This is all fine except when you click on it the first time then its successfully loads the …

Member Avatar for justted
0
50
Member Avatar for littlegreen

Hi all, Actually, I had posted a thread in the [URL="http://www.daniweb.com/forums/thread111829.html"]php forum[/URL]. But I don't know the javascripts and AJAX very well, so would like ask for help from anyone here. The code below is originally from [URL="http://24ways.org/2005/edit-in-place-with-ajax"]edit-in-place scripts.[/URL] But this didn't work for my case. Does anyone know about …

Member Avatar for littlegreen
0
107
Member Avatar for sbv

Hello , i am new to AJAX. I don't know anything about AJAX. Can any one tell me What is AJAX. In which language we can use it.. and how.. , need of AJAX. Or any link to refer. Thanking You.

Member Avatar for sbv
0
129
Member Avatar for nava

Hi Hope is the correct forum, let me know if I should move it. For work I need to use an internal website the problem I have is that since I upgraded IE7 I cannot see it correctly, looking at the source I can see the script below <label for="supGrpSrch">Search …

Member Avatar for ShawnCplus
0
128
Member Avatar for brr

in my form after filling all details click on the submit button after inserting the data iam getting the same page with empty fields, till this ok i want to display in that form one confirmation message along with empty fields like Date inserted successfully

Member Avatar for DangerDev
0
614

The End.