15,121 Topics

Member Avatar for
Member Avatar for tdeck

I'm trapping the onKeyPress event of a textarea, and I'm wondering if there's a way to prevent the key from also being typed into the textarea if it's a certain key. I have tried stripping off the last character from the value property, but it seems that the character is …

Member Avatar for tdeck
0
89
Member Avatar for solahere

I wanted to do some popon windows when someone hovers over something on my page... [ICODE] new_window = open("page.html", "displayWindow", "toolbar=no,width=600,height=300,directories=no,status=no,scrollbars=no,resize=no,menubar=no"); [/ICODE] I can do that by opening a popup using the abovecode but it opens in a separate page... I want it to hover on top of the same …

0
65
Member Avatar for RobotFX

I'm looking for a popunder script that will work for both IE8 and FF3 (as they dominate now). Of course, any other browser is welcome :) Note: I've also tested the flash but I've excluded it from the start, since the flash player is enabled by default to block them. …

Member Avatar for clivexxx
0
150
Member Avatar for morecrab

Hi all, I had a problem with this html. Its name is index.asp. [CODE] <form action="index.asp" method="post"> <input type="submit" name="previous" value="prev"> <input type="submit" name="next" value="next"> </form> [/CODE] The problems is, [INDENT]I don't know whether i push the prev button or the next button.[/INDENT] How i will know that ? --THanKs …

Member Avatar for alexhernandez
0
77
Member Avatar for zuve_fox
Member Avatar for DangerDev
0
48
Member Avatar for aparnesh

I have created a timer function using setTimeout. The function works perfectly in IE and Opera but doesn't work in FireFox or Netscape 6. I checked out my Javascript book where it says setTimeout is compatible with all browsers. So where am I going wrong ? [CODE]function showPics() { if …

Member Avatar for Nine of Hearts
0
515
Member Avatar for ablitz

Hi Everyone! I'm currently working on MySQL/PHP/JavaScript project using AJAX. I came across some weird abnormality and wanted to share with you and hopefully find a solution to this problem. for some reason alert(textarea2); shows nothing but if I place another alert(textarea2); right after the first one it works, second …

Member Avatar for ablitz
0
291
Member Avatar for Matsui

i know that there is a mailto: script to use but it is unsecure and all that, so what would be the best way to go about sending form information to an email address in javascript?

Member Avatar for essential
0
158
Member Avatar for phant0m67

hi im trying to parce a XML that is generated by a php page, the problem is that when i try to get the elements on that XML, the browser says that my variables (dado) are undefined.... any idea how to solve this? [code] function leValorXML(xmldoc, tag){ var dado = …

Member Avatar for essential
0
122
Member Avatar for laghaterohan

Hello, I have written a javascript function for email validation . On the click event of the validate button am calling the function however, the function is not called and returns nothing....so please help me out....plz help me out and do let me know where am going wrong...! here is …

Member Avatar for kvprajapati
0
185
Member Avatar for DealthRune
Member Avatar for DealthRune
0
266
Member Avatar for samarudge

Hi, I have used AJAX lots before and I wondered if it was possible to set variables from an AJAX file E.G. an ajax file could set var set1 = 10; var set2 = 55; with both variables coming from an external file called by AJAX Could you tell me …

Member Avatar for Airshow
0
129
Member Avatar for napsternapster

Hi ppl, I have a select dropdown which has two events an onchange and onkeypress. My problem now is when I use the keyboard arrows to select an item from the list in a select drop down the onchange is selected(invoked) before I even reach the second item in the …

Member Avatar for essential
0
123
Member Avatar for Lolalola

hi, i use AJAX, framework - JQUERY. Now all information show in one table( <div id = "user">). [code] var user= setInterval(function() { $('#user).load(user.php?id='+ Math.random()); }, 5000); user.php: $rez= mysql_query($sql, $db) or die("Error"); while($r = mysql_fetch_array($rez, MYSQL_ASSOC )){ $name= $r["name"]; $time= $r["time"]; [/code] But how make this: $name show in …

Member Avatar for Lolalola
0
436
Member Avatar for sbhalla15

Hi there: This specific to the messages posted by members for various sections on this forum. when I read through the message text, and if the member has typed in some link of other site, on mouse over of this link i see small image of the link contents. I …

Member Avatar for sowjanya.gutla
0
270
Member Avatar for Zurompeta

Hi all, I'm creating a fairly large web-application that uses a reasonable amount of AJAX. My question is; will it cause problems (in terms of process speed, overall performance and most importantly if it's actually possible) to run this application from multiple computers? Primarily if, for example, two separate computers …

Member Avatar for Zurompeta
0
101
Member Avatar for mortalex

God i'm having a terrible time trying to do this. Does anyone know how to set a javascript variable as a query result from a MySQL database. As an example, like this: Set this query: [CODE]$query4=mysql_query("select price from pricelist where item='$result3[item]'"); $result4=mysql_query($query4);[/CODE] into a variable: [CODE]var price[/CODE] i just can't …

Member Avatar for deMechanico
0
4K
Member Avatar for napsternapster

Hi, I'm creating a dynamic site but now I'm coming across a problem when I'm displaying input textbox.The textboxes uses two events onblur and onkeypress These two events they invoke the same function which suppose to determine the function must be executed between Shownext() and tabbackorFront() When a use uses …

Member Avatar for Airshow
0
755
Member Avatar for chiwawa10

Hi all, I am having trouble trying to load contents on a tab in accordion on the fly. Which means, the content for a particular tab will only be loaded and displayed when user click on it. Is there any example available? I am still trying it with Ajax. I …

Member Avatar for ayesha789
0
79
Member Avatar for laghaterohan

Hello, I have written a javascript function for email validation . On the click event of the validate button am calling the function however, the function is not called and returns nothing....so please help me out....plz help me out and do let me know where am going wrong...! here is …

Member Avatar for kvprajapati
0
105
Member Avatar for alphabetical

I am using the below pre-built script for my mouseover images: [code] <script src="js/chrisdomroll.js"> /**************************************************** * DOM Image rollover v3.0: By Chris Poole http://chrispoole.com ****************************************************/ </script> [/code] And it works on the page simply by adding the following attribute to the image tag, with the behind being the mouseover image's …

Member Avatar for alphabetical
0
144
Member Avatar for Reliable

In other words, can I do this.. [CODE]<cd> <artist>Angella Christie</artist> <album>Hymn & I</album> <song>Blessed Assurance</song> <genre>Gospel Jazz</genre> [COLOR="Green"]<image> http://ecx.images-amazon.com/images/I/41TQV56BH0L._SL160_AA115_.jpg</image>[/COLOR] </cd>[/CODE] I'm asking because when I press "Get Schema" Dreamweaver gives me an "Expected entity name for reference(13,16). The "image" tag line is line 16.

Member Avatar for Reliable
0
70
Member Avatar for charliesindex

Hi, I am quite new to web development. I wrote this script to display current weather it works fine locally. But not able to run on my web server - I get "Access Denied error". Can anyone help? or suggest a better way to get yahoo weather on my web …

Member Avatar for essential
0
136
Member Avatar for chuffman

Hello, What I am trying to do is show or hide a div when a user clicks the link, but I have multiple divs that belong in the same place so when the user clicks a link it needs to hide the current div, if there is one, and then …

Member Avatar for chuffman
0
105
Member Avatar for w33n

Basically I'm having trouble getting it to work. The instructions aren't really clear at all on [url]www.stickmanlabs.com[/url] . I've got thumbs. I can get them to work individually, but the next and back buttons to the next image isn't working. Can you help me? thx. b

0
64
Member Avatar for zachabesh

Hey all, I'm working on a project combining a javascript bookmarklet and a php script that lets users mail the url of the site they are currently browsing to their email address. I had a PHP issue solved over in the PHP forum: [url]http://www.daniweb.com/forums/thread202375.html[/url] But now I have a new …

Member Avatar for codejoust
0
122
Member Avatar for solahere

THis is really silly but nevertheless... I was wondering what does the <Option Selected ...> in the drop down list mean? Does it mean that the indicated option is selected by default? I just wanted to confirm cause even if I remove the "Selected", it still shows the same option …

Member Avatar for Airshow
0
54
Member Avatar for Menster

Hi there, Does anyone know how to force Internet Explorer to refresh it's results from an AJAX call? I might be doing something wrong but here is my problem: I use Ajax to present a form containing price values of a product from a database, where they are presented in …

Member Avatar for prime1999
0
134
Member Avatar for daveg8

Hi, I have a schedule updater that is running perfectly in firefox, but slowly in IE7 (and probably IE6 as well). You can see the script in action at: [url]http://www.jobvid.com/CustomizeNewSchedule.php[/url] Any help would be greatly appreciated! The code is below... Thanks, Dave [code] <script type="text/javascript"> function changecolor(Id,ctrlhide){ var current = …

Member Avatar for essential
0
115
Member Avatar for XRideRed450R

I downloaded a shadow box from the web that uses javascript and based on the size of the div it applies a shadow. This is great however when i apply a slider javascript function to it to make the div bigger the shadow goes nuts and does not like it. …

Member Avatar for Airshow
0
112

The End.