15,127 Topics
| |
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 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 … | |
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 - … |
The End.