15,700 Topics
![]() | |
I've had a hard time getting dynamic rows inputs to multiply 'onchange' of the value in the input in each row. It works in the first row inserted no matter what rowindex that row is moved to. All following rows only accept the initial input value and never change the … | |
<p>i WANT TO DISPLAY THE POPUP WINDOW AFTER CLICKING THE PARENT WINDOW "BUTTON".<p> <p>THAT POPUP WINDOW DISPLAY THE DATA IN A TABLE FORM(FOR EG:NO,NAMEETC.,) .<p> <p>Now i want to select any row in the table using radiobutton.After selecting the radio button particular row values will display in parent window text … | |
I'm trying to add the "Amazon Style Drop-in Content Box" from the Dynamic Drive site into a Joomla template. I don't know Joomla very well and I've followed the tutorials. Basically, this drop in box contains a SWF file that references an FLV video. The background is transparent and I … | |
I was using variables stored on the navigator object to access them across pages example in Begin1.aspx I had navigator.localvar = 1 and in Begin2.aspx I had if (navigator.localvar == 1) { .... } However in IE8 it doesnt work anymore It complains that navigator.localvar is null or not defined … | |
Hi, i have started to learn javascript. To run javascript.. browser window and notepad is enough or i need to load java s/w also, i'm not getting output for this coding..can any one help me pls??? <!DOcTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>first java script … | |
I have been a mainframe programmer for over 20 years - I have a new project that requires browser pages written in JavaScript. [B]Please let me give some background of my code.[/B] I currently begin with a HTML page that assigns the values retrieved from a third party vendor's API … | |
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 … | |
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() … | |
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 - … | |
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. | |
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??? | |
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 … | |
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"> ,</div> [/CODE] as you can see … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 | |
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 … | |
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 … | |
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... | |
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 … | |
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 … | |
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 … | |
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] | |
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 … | |
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 … | |
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 … | |
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 … | |
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. | |
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. … | |
hi all, I'm a newbie to AJAX (spent most my time on the C++ forum) but I'm in need of some advice. I plan on building a web-application in PHP with AJAX functionality. Now, I've never touched AJAX before and wanted to know which route would be more convenient a) … | |
I am placeing this thread here as i believe it id a java script problem not being a programmer i havnt a clue anyway i am working on a website still needs lots of work but it works fine in firefox but only shows the background in IE sorry to … | |
Hey Guys, I have often noticed that most times when we register to a website it asks for a long length password. Why is this so?? What not use shorter length passwords as it would be much more easier to learn. I hope i am not asking a silly question. | |
like theres two pages. page one calls page two and displays the output of page 2 on page 1 via ajax. now can i click on page 2's output(on page one) and have it execute another javascript function to call AJAX(a third page) ? or what? if so... how? | |
hi i just created ajax tabs. it works fine but it contains too many functions for just three tabs. I want to know any other way to reduce these amount of functions. i am new to ajax. my code is below data.html [CODE]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> … | |
I have come across several websites that use genie scroller. However, when I go to the website it looks like that is no longer sold. Does anyone know of something similar? I have run across a few things, but nothing that works like Genie Scroller. | |
OK, I have a JS which validates the correct format for postcodes (or zip) on an html form - works fine. But what I want to do is to use a JS to see if a website visitor is eligible for a particular service on their postcode / zip - … | |
Hi, In Google Chrome the [COLOR="Green"]'chrome.tabs.captureVisibleTab(integer windowId, function callback)' [/COLOR] method will return a data URL of the JPEG encoding of the visible area of the captured tab. We want to save that content as image to hard disk without opening/passing the contents into new html page. Does anybody know … | |
Hi all. I'm trying to implement a rotating image system written in Javascript into a PHP website. The PHP page and the Javascript both work fine independently, but integrating the JS is proving tough and giving me errors. Here is the top part of the PHP page: [CODE]<? include ("./application.php"); … | |
How do I associate a button with a function andn still have it display text, click to calculate,and start a function in JavaScript | |
I really like the drag-drop box from bbc.co.uk, but I don't know how to do it. Can anybody help me to create a page like that? | |
Hi all, I am trying to rotate adds that are from tradedoubler !! I have created a mysql db as follows id,add,link,title and i can succesfully connect via a php include and rotate my query to show a different add each time the page loads [code] $sql = mysql_query("SELECT * … | |
i really need help.. i want to have a realistic bus seating reservation like in some airline reservation we have today... not just like using ordinary tables with rows and columns... i dont know how and where to start.. please help.. | |
Hi Simple problem. Ive designed a calendar for booking our boardroom - and I want it to refresh live - so using a timer and an ajax call. Thing is, if you select a new day (also using an ajax call), when it refreshes it needs to refresh with the … |
The End.