15,694 Topics

Member Avatar for
Member Avatar for stjohn999

hi heed help with this im trying to get a function difference to work all i had was the arry and thats it array is 1,2,3,4,5,6 and i want to find the difference of 1,2 2,3 3,4 4,5 5,6 6,1 and return a number 1,2 return 1 2,3 return 1 …

Member Avatar for Graphix
0
73
Member Avatar for doforumda

hi i have following code. it has a problem when i submit username and password it does not display that username and password back. index.html [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> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <script src="jquery-1.4.min.js" type="text/javascript"></script> <script> //window.onload = initAll; function initAll() …

Member Avatar for Hangfire
0
141
Member Avatar for allhimachal.com

In the AJAX example below we will demonstrate how a web page can communicate with a web server online as a user enters data into a standard HTML form. [B]Example Explained - The HTML Form[/B] [CODE]<form> First Name: <input type="text" id="txt1" onkeyup="showHint(this.value)"> </form> <p>Suggestions: <span id="txtHint"></span></p> [/CODE] [B]Example Explained - …

Member Avatar for Hangfire
0
172
Member Avatar for linksprocket

Hope some one can assist me Below is my code which works fine. I need to be able to select more than one of the options at the same time. The code at the moment will only select one option rather than all my options. Any advice would be great.

Member Avatar for Hangfire
0
183
Member Avatar for Acute

hi, i'm new in web-development and i'm making a simple chat. How to make a scrollbar of [U]iframe[/U] (which displays all the text you enter) to be always at bottom???

Member Avatar for drewpark88
0
86
Member Avatar for bahman2216

Dear All. I want to show and hide a DIV tag in each row by clicking on check box. my code is here: [CODE]$myCont="container_".$s; $e .='<input onclick="showHide('.$myCont.');" type="checkbox" />[/CODE] and in another file I create DIV with none static id: [CODE]$e .='<div id="container_'.$s.'" style="display:none;">';[/CODE] it is not work in showHide …

Member Avatar for bahman2216
0
83
Member Avatar for mimsc

Hello guys I normally write java...but heres my question [CODE] int propId = Integer.parseInt(request.getParameter("property")); <script type="text/javascript"> function doReport1() { document.forms[0].target = "_blank"; document.forms[0].action = 'http://<%=accountName%>/JAABA/jsp/cpanel/homeSellerReport1.jsp?propId=<%=propId%>'; document.forms[0].submit(); } <div class="marginTopBump5 marginBottomBump9"> <div class="left paddingRight2 paddingTop21">Dear</div> <input type="text" name="custName" maxlength="100" size="40" value="" class="fullBox left" /> <div class="left">&nbsp;,</div> [/CODE] as you can see …

Member Avatar for mimsc
0
147
Member Avatar for loll_l

Please see my Booking Form here [url]http://www.n-v-m.co.uk/Booking.html[/url] The form is very nearly finished but I have no experience with JavaScript at all so I am hoping somebody can tell me how to do the finishing touches. All I require is: 1- On clicking the 'Submit order' button I would like …

Member Avatar for loll_l
0
168
Member Avatar for albertkao

I downloaded the tablekit javascript library and put it in the js directory which is in the jsp directory. i.e. the directory is C:\workspace\com.mycomp.data.war\WEB-INF\jsp\js The jsp page is as follows and display correctly with FF and chrome on Windows Vista. However, the column of the page is not sorted by …

0
67
Member Avatar for sakhi kul

Hi, I am trying to validate a simple form using jQuery. So,I created database company and in that my table manager. here I am trying to add manager record. the code is here- AddManager.aspx file [code] <%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<Formvalidation.Models.manager>" %> <asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server"> AddManager </asp:Content> <asp:Content …

0
83
Member Avatar for chamika.deshan

Hi I have a loop looping through an "band" object array. I am assigning a anonymous functions for the object property(actually dragging) [CODE]for (var j=0;j<5;j++) { var othis = this.bands[j]; othis.onDragstart = (function() {return othis.onDragstartResizeHandle()}); }[/CODE] onDragstartResizeHandle function [CODE]band.prototype.onDragstartResizeHandle = function() { alert(this.id); }[/CODE] when I drag a band it …

Member Avatar for chamika.deshan
0
97
Member Avatar for chamika.deshan

Hi I have a class page.js page.js ------- [CODE]var band = null; for(var i=0; i<=10; i++) { band = new Band( 100, 100); band.onDragstart = function() { alert(i); }; }[/CODE] each time ondragstart triggers this prints the value 10 for all band objects. if i need to print 0,1,2,3...10 what …

0
75
Member Avatar for gunnarflax

Hi, I'm not good at all at JavaScript but I'm trying, so bear with me. What I want to do is that when I click on a <input type="text" /> tag the checkbox next to it should become checked. I've tried with the help of internet for a couple of …

Member Avatar for gunnarflax
0
248
Member Avatar for deafboyzaudio

Hey everyone, Wanted to say hi, greetings to everyone!!! I was hoping that I could get some help here as my efforts to get help elsewhere have been futile.... I found a good pagination tut at this link: [url]http://www.dynamicdrive.com/dynamicindex17/ajaxpaginate/index.htm[/url] that im using with PHP and a MYSQL database. I can …

0
57
Member Avatar for Heinz Stapff

Hi everyone, I have a table that is written from 'display' window to 'register' window. It is a CART TABLE. It is suposed to cut down on posts to the server and is written entirley with client side javascript. There should really be ony one post to the server when …

Member Avatar for Heinz Stapff
0
649
Member Avatar for Pleasant Day

Below is a Random Quote generator script I found on the net, its a great script, but I want the quote to be in bold, how is that done please? [code=html]<center> <font color="#71025F" size="2" face="Verdana,Arial"> <script language="JavaScript"> // ============================================== var Quotation=new Array() // do not change this! // Set up …

Member Avatar for yehawdude
0
153
Member Avatar for pawn10

hai, this is pawn actually i have a problem with javascript i have written code for menu stripes i.e drop down menu it's working proper in mozilla but in internet explorer not getting proper the align showing in different style. so please if u have any solution reply

Member Avatar for harrierdh
-1
56
Member Avatar for letlet_pogs

Hello, good day. I am a newbie in AJAX. I am still starting at this programming language. I just want to ask for help. I have a field "From" and "To". If you select "1969" in "From" field, then in "To" field, the user will automatically select YEAR that is …

Member Avatar for letlet_pogs
0
77
Member Avatar for fumnimda

hi i want to get height of a div with[B] document.gtElementById('divid').offsetHeight [/B]in javascript. it works well in firefox but in IE it returns 0. what is the solution? i guess maybe the offsetHeight doesn't work in IE ,but [B]document.body.offsewtHeight[/B] return a number bigger than 0 ! altought it is different …

Member Avatar for arunss
0
78
Member Avatar for sharao

hi frnds, if any one disable javascript in their browser...eventhough how to run our script...i think jquery is one option but i don't know exactly.. if any one knows tell me the process how to run script when disable... Thanks...

Member Avatar for kvprajapati
0
331
Member Avatar for realnsleo

Hi, okay i've spent hours in the web searching for the right image slideshow/gallery to use for my website but in vain! Dont get me wrong the jQuery, Ajax scripts i've seen so far are so good but they all use lists to load all the images at once and …

Member Avatar for realnsleo
0
145
Member Avatar for richholt

If anyone can solve this, I would honestly think you're a genius. I've been using html/css 10+ years and this has bugged me for days! You can see the problem if you view [URL="http://www.dripsplat.com/dev/ttass/courses.php"]http://www.dripsplat.com/dev/ttass/courses.php[/URL] and click the "course outline" link to expand content. Content expands but footer stays where it …

Member Avatar for MidiMagic
0
99
Member Avatar for karin42

Hi! I am attempting to change the innerHTML code of a div and to run javascript code at that time. But I seem to be unable to do it. The actual workings of the whole thing are really convoluted but here is the general idea: [CODE] <html> <head><title>JavaScript test</title> <script …

Member Avatar for karin42
0
200
Member Avatar for desiguru

I want to launch this after 5 seconds once page gets loaded. How can I do this? [CODE]<script type="text/javascript"><!-- window.onload = function() { document.location.href = 'http://www.google.com';} // --></script> [/CODE]

Member Avatar for harrierdh
0
74
Member Avatar for doforumda

hi let me explain what i want I have four pages.two html, one js and one php. First page is loginTab.html. There is a tab called "Tab One" when user clicks on it there is a script inside this html page which calls function and loads an external login.html form …

Member Avatar for doforumda
0
80
Member Avatar for brianzet

Hi everybody I want to append an id from my mysql database to jQuery. I dont know how to figure this out in ANY way :-S :-( This is my code: [CODE] <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.1/jquery.min.js"></script> <script type="text/javascript"> $(document).ready(function() { $("li.card").hover( function () { $(this).append($("<div id='popup'>This is has id nr. <?php …

0
67
Member Avatar for tetnao

I am using both InPlaceEditor and InPlaceCollectionEditor on my page. InPlaceEditor is working fine, changes into a textbox when I click on the div that is suppose to call InPlaceEditor, but InPlaceCollectionEditor isnt quite working. The div tagged to InPlaceCollectionEditor still highlights when I hover over it, but when I …

0
42
Member Avatar for gamestoenjoy

Hi, I am currently learning AJAX, and I want to write an simple example program (it is only for practice, it has no real meaning). The program sends request to to PHP and gets response from it, then it should write the response using message box, all should happen on …

Member Avatar for gamestoenjoy
0
368
Member Avatar for doforumda

how can we add preloader in ajax code. what i want is when user press button then .gif preloader displays until the data loading is completed. how can we do this? any examples will be appreciated.

0
62
Member Avatar for ffs82defxp

Okay I am relatively new to javascript, and my project is to create an xhtml page that contains <iframe> and javascript that monitors the changes in a web page's source code. Okay. I got everything down, except I don't know how to do an onchange event that works with javascript. …

0
54

The End.