15,699 Topics

Member Avatar for
Member Avatar for pwgmac

Hi all, Sorry if this is a common thread. I did a search but couldn't find a solution I was looking for... You know the popup that appears if you're not logged in about joining Daniweb, I need to put together one very similar for a forum I'm working on. …

Member Avatar for george61
0
120
Member Avatar for amckenzie4

I've only just started playing with AJAX, as part of a project I'm dealing with at work. The specific piece I'm stuck on at the moment is this: I have a form with a lot of fields, two of which are subnet (a drop box populated from a database, via …

Member Avatar for amckenzie4
0
277
Member Avatar for am5a03

I'm a AJAX newbie, I was wondering if I can use the .responseText method, to load the text from other website? For example, how can I download the data from "[URL="http://www.weather.com/weather/today/Hong+Kong+China+CHXX0049"]http://www.weather.com/weather/today/Hong+Kong+China+CHXX0049[/URL]" and display the data in my own way? It seems that the .responseText/.responseXML does not work here...:-/ thanks for …

Member Avatar for am5a03
0
103
Member Avatar for manavsm

i want to change the default value of dropdown list to 0 i.e selected index value shud become 0 when press the cancel button so that watever i selected previously is removed here is the javsacript [CODE] function CloseDiv() { var control = document.getElementById("divReqStages"); control.style.visibility = "hidden"; var control1 = …

Member Avatar for hielo
0
136
Member Avatar for khoomy

hey ppls i hv a list embeded in div . it will be filled by ajax and shown on that time under a text field just like [URL=http://www.google.com/webhp?complete=1&hl=en]Google Suggest[/URL]. All i want to do is to select its options while mouse is moving around its options. <div id="list" class="hide"> <select …

Member Avatar for tsaigopal
0
356
Member Avatar for eniine

Hello all. I have an web site that have different themes. I want to build a script in javascript that get as a parameter a color in hexadecimal format ex: #ff0000 and return some suggested color . as this example color generate must to combinate with red color. also the …

0
101
Member Avatar for techie929

Hi Everyone, I want to build a web application using JavaScript and Python for my class project.It would be really helpful if I will get some ideas. Thanks, Smita.

0
42
Member Avatar for Mapper99

I recently implemented a try catch routine to get past an error I could not fix. Unfortunately, the page loads completely in Chrome, Safari and IE, but halts in Firefox. Any idea why? Here is the URL to the page: [url]http://laudontech.com/tools/Edit4.HTML[/url]

Member Avatar for tscman
0
149
Member Avatar for subhankar02dey

I have radiobuttonlist in which there is 3 items. I have checkboxlist in which there is 5 items. I have a button. I want to unselect all the selected check boxes in the list when the button is clicked. And I want to unselect the selected radiobutton in the radiobuttonlist. …

Member Avatar for Airshow
0
329
Member Avatar for toydiaz

hi, i have this script work in FireFox, simetimes in I.E and never in Chrome, i need your help!!!Please... thanks. [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=iso-8859-1" /> <title>Untitled Document</title> <script type="text/javascript"> var Width=200; // height to resize large images to var …

Member Avatar for fatihpiristine
0
139
Member Avatar for shaikhanu

Loading Page in Specific Div using AHAH - http://microformats.org/wiki/rest/ahah but unable to execute script Main.html <html> <head><title>Main Page</title></head> <script type="text/javascript" src=GetPage.js> </script> <body> <form method=get onsubmit="load('History.html','GetDiv'); return false;"> <input type="text" name="quota" value=""> </form> <div id="GetDiv"> </div> </body> </html> GetPage.js function ahah(url,target) { document.getElementById(target).innerHTML = 'loading data...'; if (window.XMLHttpRequest) { req …

Member Avatar for fatihpiristine
0
232
Member Avatar for samarudge

Hey, On a site I'm developing there is a separate Javascript file loaded when users are logged in as admin, for the sake of this I'll call it admin.js. This file contains a function called adm_linkify(); which adds 'Edit This Content' links to certain elements. There is also a main …

Member Avatar for fatihpiristine
0
81
Member Avatar for WarrenN

Hi I have a JavaScript function for swapping the values of rows in a table. I have a hidden field in each row to carry a record ID. As I switch the rows the function will update the hidden field but doesn't do it correctly if I switch a number …

Member Avatar for WarrenN
0
124
Member Avatar for dennishall

Hi there: I have a couple of scripts below where I have one issue as follows: I have a photoSlider div with my images changing in it from my function called `slideIt()`. This function displays the images in the div and should allow you to click on them replacing the …

0
82
Member Avatar for jjemphoung

good day! when i click a button, this codes will be executed (tested, its working) var cart=document.getElementById('cart'); cart.innerHTML=cart.innerHTML + document.getElementById('name'+cartNum).innerHTML + "(" + qty + ")" + "<br>"; this is the style of my cart } #cart { overflow:auto; border:solid; height:500; margin-left:10px; margin-right:10px; margin-top:20px; margin-bottom:0; font-size: 12px; text-align: left; font-family: …

Member Avatar for Graphix
0
143
Member Avatar for dennishall

Hi there: The code below lays out 3 divs, the 1st. div contains a slideshow, the 2nd. div is a container for the 3rd div which contains buttons to override the slideshow and replace it with a new image in the slidshow div. All the above scenario works perfectly. Where …

Member Avatar for dennishall
0
252
Member Avatar for tefflox

I have implemented a feature that works in firefox and opera, but doesn't work in IE -- it is the css opacity setting. I am overlaying translucent divs over a jpg image. Do I need to use javascript to fix this for IE ? [URL]http://listenlight.net/05[/URL] is the page I'm working …

Member Avatar for sahinci
0
365
Member Avatar for swornavidhya_m

Hai I am trying scrolling of images as like ([url]http://www.dynamicdrive.com/dynamicindex2/crawler/index.htm[/url]). I do want to set border for the images with border property as "2px solid #000" and i do want gap between the images so that the horizontal gap value is 20px. I tried even with image border propoerty and …

Member Avatar for hielo
0
1K
Member Avatar for MDanz

how do i limit this textfield to three words? [code]<input type='text' size='40' name='search' style='font-size:16px; font-family:Arial;font-weight:bold;' />[/code] i only want three words to be allowed entered.

Member Avatar for MeSampath
0
75
Member Avatar for swornavidhya_m

I want to provide sitemap with scrolling of images. I'm handling the method for scrolling image as in "Text and Image Crawler" of Dynamicdrive.com ([url]http://www.dynamicdrive.com/dynamicindex2/crawler/index.htm[/url]). I've just changed the images and added a click event for images. The crawler.js is the same as in the "Text and Image Crawler" of …

0
88
Member Avatar for poison_bubbles

Hi im zee and i'm new to javascript.. The javascript function below..examines if a string value contains only numbers.. My problem is..I can't figure out why it doesn't continue with the 2nd loop and iterate j..please help.! [CODE]<script language="javascript"> <!-- value = "23e"; isNumber(value); function isNumber(value){ document.write('I'm inside the function …

Member Avatar for james chaco
0
115
Member Avatar for Gregoriochavez

After weeks of getting a javascript to work the way I want it to, I am informed by the company that hosts my web sites that they want more money for me to have the .js file functional on the server. I am not a coder, nor do I have …

Member Avatar for Gregoriochavez
0
79
Member Avatar for bsewell

Hi, I have a hidden DIV, which is going to cover all of the screen as part of a lightbox. I wrote my code based on what I found at docs.jquery.com/Tutorials:Basic_Show_and_Hid . When I click on the link to run the lightbox, the div isn't showing even through the z-index …

Member Avatar for bsewell
0
96
Member Avatar for Airshow

[B]INTRODUCTION[/B] Have you ever wanted to pass data from one web page to another when server-side scripting is unavailable, and without setting a cookie? Ever wanted an efficient way to build url query strings? Well now you can. [B]SOLUTION[/B] It is maybe little realised is that data can be successfully …

Member Avatar for jadhav vijay
2
1K
Member Avatar for seniramsu

I've been having trouble with a seemingly simple function...I have a form where 3 of 5 field values are generated by a script tied in with Google Search (like a business address). The user is prompted to enter their business license #, and as soon as the input field has …

Member Avatar for seniramsu
0
74
Member Avatar for seniramsu

Hey, how's it goin I'm trying to write a simple if statement with jQuery...it looks like this [CODE] if ($('#title .general').length == 0) { function() { $('#ubi').empty(); $('#address').empty(); $('#city').empty(); $('#region').empty(); } } [/CODE] First off, i'm getting an error in firefox that has "syntax error" function( ) { } -----------^ …

Member Avatar for seniramsu
0
79
Member Avatar for Queen007

Hi, Everyone!! I'm really new in this business and I've been having some trouble with these errors: ====================================================================== Message: Object expected Line: 1 Char: 1 Code: 0 URI: [url]http://www.myblog.com/successblog/[/url] =================================================================== Message: Expected '}' Line: 707 Char: 301 Code: 0 URI: [url]http://www.myblog.com/successblog/[/url] ================================================================== Message: Expected '}' Line: 738 Char: 301 Code: …

Member Avatar for Queen007
0
302
Member Avatar for kswsk

I want to matching addresses, without necessarily displaying them on a map by using Google MAP. For example : [CODE]<input type="text" name="drop-off" id="drop" style="color:#666666"/>[/CODE] the customer will enter like this in the texe field : 10 Abbe......., then autmatically the address appear like this for example 10 abbey st and …

0
63
Member Avatar for ghtvnath

i presently have a text area which is generated using two arrays.It is loaded at the screen load. It is as following. var channelsGroups = new Array(); var channelsChildren = new Array(); channelsGroups[0]= new Array('Mars Public', 'MARS-PUB'); channelsChildren[0]=new Array(); channelsGroups[1]= new Array('Mars Private', 'MARS-PRIVA'); channelsChildren[1]=new Array(); channelsGroups[2]= new Array('Internet Booking …

0
48
Member Avatar for lewilaloupe

Hi, I'm sure this should be easy, but just can't work it out. I have a select dropdown with several options. The user selects an option and fills out the following few fields. If the user then changes his mind and changes the option in the dropdown, I want all …

Member Avatar for Graphix
0
116
Member Avatar for reviloera

Am developing a web application how can I automatically capture my users gps coordinates when they have filled in their location address on the fly. thx

0
57
Member Avatar for laghaterohan

Hello, Can any one please help me to know how can we highlight the required fields using JQuery? For Ex. I have a form with several fields on it. In that there are 2 required fields. Now, if the user leaves these fields empty those textboxes should be highlighted in …

0
58
Member Avatar for rajeesh_rsn

Hi, I am developing a login system in my web site I am using php and mysql. In this I want to add some creative user interface like... When user click on login link then a pop up ( not separate browser window , Just creating one with jquery ) …

0
53
Member Avatar for dhanapal86mca

How to get the ful path of a file during file upload in google chrome.. i am getting only the file name and not the full path... plz help me to fine the solution Very urgent................

0
83
Member Avatar for koykemar

I am trying to create a music web player that changes song automatically, however the song is instead repeated and whenever next is click, and some codes are executed to stop the current song and start the next, the current song pauses for about 1 sec instead... can some please …

0
86
Member Avatar for SunnySideUp

Hi, I am looking to be able to display errors from my forms or whether the email address is already taken on the same page. My script is shown below: [CODE] if(isset($_POST['subregister'])) { require_once('../sign-up/recaptchalib.php'); $privatekey = "Hidden"; $resp = recaptcha_check_answer ($privatekey, $_SERVER["REMOTE_ADDR"], $_POST["recaptcha_challenge_field"], $_POST["recaptcha_response_field"]); if (!$resp->is_valid) { // What happens …

Member Avatar for Stefano Mtangoo
0
160
Member Avatar for luofeiyu

there is table : <table> <tr bgcolor="F3F3F3"> <td align="right" width="240" class="tickerSm">reportdate</td> <td align="right" width="65" class="tickerSm">10/31/09</td> <td align="right" width="65" class="tickerSm">10/31/08</td> <td align="right" width="65" class="tickerSm">10/31/07</td> <td align="right" width="65" class="tickerSm">10/31/06</td> <td align="right" width="65" class="tickerSm">10/31/05</td> </tr> <tr bgcolor="ffffff"> <td class="tickerSm">Cash & Equivalents</td> <td align="right" class="ticker">2,493</td> <td align="right" class="ticker">1,429</td> <td align="right" class="ticker">1,826</td> <td align="right" class="ticker">2,262</td> …

Member Avatar for hielo
0
89
Member Avatar for george61

Hi all. I've tried to make a simple hover effect about small images but it won't work. I also tried to make the following script: 2 seconds after page loading image1 changes 2 seconds after that image1 returns to back state and image2 changes and etc. Can someone help? Best …

Member Avatar for hielo
0
187
Member Avatar for seniramsu

Can anyone tell me how to position the mouse cursor at the beginning of some text I have inside a text input (some hint words in italics), instead of at the end of the words? It's one of those text hints that will disappear once the user begins typing. I've …

0
50
Member Avatar for andrewliu

Hello. I have a search engine form that is not ajax and it refreshes the page on search. I was wondering if it is possible to type a onclick code where it will contain my php script for the search engine by when you search, it'll send show the result …

Member Avatar for Graphix
0
118
Member Avatar for Gregoriochavez

I have spent days trying to get this web page to function as intended. If I have the .js in a separate file and reference it from the web page <head>, the page works fine. However, once it is embedded instead, nada. This is the entire web page coding, including …

Member Avatar for Gregoriochavez
0
277
Member Avatar for AjithAnnadurai

i created one blog . In that i put other site links . When users clicked that link it opened in the same tab . i need html codings to open in another tab if users click that link . please help

Member Avatar for AjithAnnadurai
0
84
Member Avatar for alexgv14

I have this gallery that uses that ipad / iphone swipe from [url]http://www.simplesli.de[/url] but on the iphone and ipad he swipe is a little hard to activate and it doesn't starting moving when I swipe like it has no feedback when my finger is moving across. Does anybody know if …

0
59
Member Avatar for bsewell

Hi all, basicly, I'm writing some code so that when a user clicks on an image, a div will be displayed where the user has clicked. My jQuery code isn't working, so wondered if anybody knew how to fix it. All of this is in my document.ready() function. [CODE] $("img.image").click(function(e){ …

Member Avatar for hielo
0
152
Member Avatar for sara10mor

When loading my web page I'm getting this error "stack overflow at line 0" What can be the reason for that? Is it related to the images I'm using in my site? Thanks S.M

Member Avatar for 99MichaelB99
0
238
Member Avatar for danny4444

Hi there, I believe I am having trouble with the response that is received by the Ajax request. I have posted something similar to this but the response returned was XML not plain text (or html). I am guessing this should be easier but I can't figure out or find …

Member Avatar for hielo
0
239
Member Avatar for SKbirdie

I am writting a large if / else tree in an existing website. My include libraries have to be put into the html program using a scripting language called SpeedScript. These includes bring in the login data that I am testing in my if tree. Instead of using the if/else …

Member Avatar for hielo
0
183
Member Avatar for PhilEaton

Hey, I'm trying to make a way for the user to click a link in an email agent and the submit button (previously hidden by css) and it then becomes unhidden. [code=javascript] function showSubmit() { var submit = document.getElementsByName("submit"); if (submit.style.display=="none"){ submit.style.display="inline"; } } [/code] Then the html: [code=html] Click …

Member Avatar for PhilEaton
0
133
Member Avatar for AjithAnnadurai

Hi friends . recently i create one blog for music . i want to knw how to add the Songs in blog for Online hearing . . . please help . . . i searched one day and did not found . please help

Member Avatar for george61
0
107
Member Avatar for toydiaz

Hi, this script work im Crhome, but not in IE, or Firefox, please help me!! <!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=iso-8859-1" /> <title>teste</title> <script> function idade(object, birthDay){ now = new Date(); bD = birthDay.value.split('/'); if(bD.length==3){ born = new Date(bD[2], bD[1]*1-1, bD[0]); …

Member Avatar for toydiaz
0
144

The End.