15,127 Topics

Member Avatar for
Member Avatar for livermore

Hi! I want to parse data from tables in webpages , there are no problems when I parse regular HTML tables, but it seems to be impossible to get any data from dynamic pages that update themself automatically. Do you have any clue how to extract data from dynamic web …

Member Avatar for Airshow
0
113
Member Avatar for bello.ojo

Hello all, I am just learning AJAX because I find it interesting but my first example does not work the way I planned it. Here is the code: This is my HTML file named ajax.html <html> <head> <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" /> <meta name="author" content="" /> <title>Untitled 3</title> <script type="text/javascript" …

Member Avatar for SolidSolutions
0
117
Member Avatar for anandhikrishnan

Hi All, I have a function reloaddash(1); for refresh the db.js in db.js file which sends a ajax request to the action file. In this .js itself I draw the table,td,tr for display. I dont use seperate .jsp file to draw. By onclick a link in this js file I …

Member Avatar for Shanti C
0
293
Member Avatar for rakhi4110

Hi everyone, I'm naive to javascript as well as JSP. I'm involved in a project where i need to code a web page similar to shopping cart type of thing. The user selection needs to be displayed in the same page dynamically using JavaScript and then after confirmation from the …

Member Avatar for rakhi4110
0
135
Member Avatar for skald89

.olddiv { overflow:visible; background-color:#1D41A4; padding-right: 10px; padding-bottom: 20px; padding-left: 10px; } <div id="old" class="olddiv"> My text that overflows is visible but it does not have the div's background color. How do I get it to keep the background color?

Member Avatar for skald89
0
82
Member Avatar for brynFlew

Hello, I was wondering if it is possible to restrict the values of a text input box to only accept set values such as "XBC1". I am trying to make a form for a scanner so you can scan bar codes and it will auto fill the form out and …

Member Avatar for Airshow
1
230
Member Avatar for skald89

I have a form on page 2 and I want the information submitted on the form to be sent to page 3. How do i do that?

Member Avatar for skald89
0
109
Member Avatar for m-hrt

internet explorer shows blank page of my website im working on the website works fine on firefox but in internet explorer all im seeing is a blank page..... here is the link of the website also in local computer its not working why??? [url]http://www.deezmedia.net/dev_projects/karaoketalent/index.html[/url] thanks in advance.... here is the …

Member Avatar for SolidSolutions
0
215
Member Avatar for Ryujin

I wrote this script that enables user to send a search to a library catalog and/or a group of article databases. [URL="http://unixweb.kutztown.edu/~rjens816/php/twinsaltbox.htm"]It works roughly as hoped[/URL] in IE and in Firefox, [B]but[/B] in Safari and in Chrome it refuses to send two searches simultaneously (the third button on the prompt …

Member Avatar for Ryujin
0
287
Member Avatar for kardklub

Im no good at javascript but i have a form with a field which u type in and it suggests customers from the sql db which matches the characters typed. The problem is i may have a customer with this 'good & small' which in my db looks like this …

0
76
Member Avatar for 612wharfavenue

I wrote this to trigger a video when an image is clicked, but its not working. Any help? [CODE] <head> <style> #movie {} #img {} </style> </head> <body> <embed type="application/x-vlc-plugin" name="VLC" target="mymovie.webm" id="movie" > </embed> <img src=myimage.jpg" id="img" /> <script> var v = document.getElementById("movie"); var i = document.getElementById("img"); i.onclick = …

Member Avatar for parmarsanjayr
0
180
Member Avatar for EricIskhakov

Hi. I'm intrested in finding out if a client watched an entire video, and i was wondering if it is possible using JS or any other client-side language? and if not what would be the best approach? Thanks in advance, Eric

Member Avatar for Wraithmanilian
0
92
Member Avatar for NickBogi

I am trying to create a dynamic form for the first time. I need an product reservation form that allows up to 10 products to be reserved. I have line 1 done and the javascript code is working. [URL="http://ryanpartyrentals.com/nb/formtest.php"]http://ryanpartyrentals.com/nb/formtest.php[/URL] Let's call those fields Category, SubCat, SubCat2 (left to right). The …

Member Avatar for Airshow
0
166
Member Avatar for winky

Hey everyone, I have been receiving an error that states that one of my variables ("$fileAmount") is undefined. I was hoping you guys might see something in my code where I am making a mistake. Please note that this is not the entire code, but where the error is occurring. …

Member Avatar for Airshow
0
78
Member Avatar for azegurb

hi All i have taken from internet script that post data with the help of AJAX and PHP below is script [CODE]<html> <head> <script type="text/javascript" src="prototype.js"></script> <script> function sendRequest() { new Ajax.Request("test.php", { method: 'post', postBody: 'name='+ $F('name'), onComplete: showResponse }); } function showResponse(req){ $('show').innerHTML= req.responseText; } </script> </head> <body> …

Member Avatar for scrappedcola
0
98
Member Avatar for shailaja mohite

HI, I have written code for image uploading, when i upload image then text in other controls gets cleared, whole page get refreshed , then how to prevent this whole page refreshing in javascript or html.

Member Avatar for ArtistScope
0
139
Member Avatar for Hawkeye Python

Hi! I don't know much about Java and I'm new to JQuery. I want to replace "+ Table" for "- Table" when the user clicks on it. For that I've used: [CODE]$(document).ready(function () { $('#table1_head').click(function () { $('#button1 a').replaceWith('- Table1'); }); });[/CODE] It worked. But I want to replace "- …

Member Avatar for Hawkeye Python
0
190
Member Avatar for k2k

hi, basically i have this function. [code] function showDetail(checkBoxShipmentId) { xmlhttp = GetXmlHttpObject(); // this calls function below if (xmlhttp==null) { alert ("Browser does not support HTTP Request"); return; } var url="detailBackend.php"; url=url+"?shipmentid="+checkBoxShipmentId; //?shipmentid = value of the checkbox, which is the shipmentid url=url+"&ran="+Math.random(); if(xmlhttp.readyState ==4) { xmlhttp.onreadystatechange= displayDetail; xmlhttp.open("GET",url,true); …

Member Avatar for Airshow
0
635
Member Avatar for solvision

Hey guys ok so the site i was working on is now live. Love that ajax function of loading pages in divs without reloading the whole page. [URL="http://www.horizoneslchina.com/"]www.horizoneslchina.com[/URL] But now i've hit another problem because of that. Adsense wont load on the pages that are loaded within the divs. If …

Member Avatar for solvision
0
171
Member Avatar for ALFA-FOXTROT

I have this code in the general js file. [CODE] $("#tabs").tabs({ collapsible: true, cache: true, ajaxOptions: { error: function(xhr, status, index, anchor) { $(anchor.hash).html("Couldn't load this tab. We'll try to fix this as soon as possible. If this wouldn't be a demo."); } } });[/CODE] And [CODE]$("#tabs").tabs( "remove" , 2 …

Member Avatar for ALFA-FOXTROT
0
672
Member Avatar for ansari.wajid

I am facing a unique bug on a website I am developing, Its occurring only for IE(I am using IE8) that too only on the online version of the site, On my local machine its working perfectly and on all other browsers(firefox, safari, and chrome) its working perfectly both on …

Member Avatar for ansari.wajid
0
225
Member Avatar for freshmem

hi everyone. i`ve been digging with jquery UI modal form. here is the link [url]http://jqueryui.com/demos/dialog/#modal-form[/url] i want to connect the jquery to my localhost,i mean when user create an account, it will be saved in my database.i`m facing some problems in it.. here`s my code.. [CODE] <div id="tabs-1"> <style> body …

0
237
Member Avatar for chand5055

Hai Friends........ I want program code only using html and javascript. First I took one form and created some data on it like name:xyz address:hyderabad country:india. hobbies:reading,cooking. submit button. Above is one simple form after submit i want it to display it in another page like out.html. so what can …

Member Avatar for Shanti C
0
124
Member Avatar for moonknight33

Please help me, my check/uncheck all boxes javascript example work not normally in IE8, but Firefox and Chrome, when I click to box with id "chkAll" to control other box with id "chkId", nothing happen in IE8 but a dotted border outline the checkbox, when I click to outside the …

Member Avatar for moonknight33
0
171
Member Avatar for tcollins412

i am making a javascript slide show. i am using this code for js: [CODE] <script language="JavaScript" type="text/javascript"> //<!-- //<![CDATA[ first = 1; last = 2; current = 1; function nextPicture() { // Hide current picture object = document.getElementById('slide' + current); object.style.display = 'none'; // Show next picture, if last, …

Member Avatar for codewall
0
236
Member Avatar for eefh01

Hi, I am working on submitting a form with various info to update on db using jquery, ajax. The db is updating perfectly when I disable JS on firefox. When enabled, a few fields (adID, userID, comments) are not updating on the db. The field userID updated as zero, but …

Member Avatar for Airshow
0
159
Member Avatar for ans2007kumar

My java script of validation is not working don't know why here is the code Header php file [code]<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xml:lang="en" xmlns="http://www.w3.org/1999/xhtml"> <head> <link rel="stylesheet" type="text/css" href="c.css" /> <title>simple document</title> <script src="validate.js;cart.js"> </script> <script type=" text/javascript"> <?php session_start(); ?> </script> …

Member Avatar for diafol
0
145
Member Avatar for johnathanr

i everyone, I'm a complete novice to javascript and have been looking around for a few days now trying to figure this one out. If you have any advice or ideas, I'd GREATLY appreciate it! Here is what I'm trying to do. I run a review site with multiple cities. …

Member Avatar for johnathanr
0
430
Member Avatar for vicky.vignesh

Hi...I am new to struts2...Have any tell me how to pass struts action class variable into java script

Member Avatar for Airshow
0
490
Member Avatar for mbarandao

Hello: I have two input boxes on a form which receive the first and last name of a user. I want to be able to use charAt() to get the first letter in each box and pass it a third box on the same form. is this doable? May I …

Member Avatar for Airshow
0
248

The End.