15,698 Topics

Member Avatar for
Member Avatar for goodluck4287

Instead of a countdown and then redirect, I would like to countdown and unhide. I have used java before as a novice, but javascript looks like a relatively new beast for me. I found this counter and think it looks good, I guess it just resents the next smallest digit …

Member Avatar for essential
0
170
Member Avatar for hbmarar

Hi, I got a form page with 3 radio buttons. Radio button ,say A,B,C. billing and shipping address is what the form page consists of . Onclikc of A the user selects hide shipping address. On click of b , copy billing to shipping address as well and on click …

Member Avatar for its4masti
0
90
Member Avatar for nakins

Should this work to reload these two iframes? I'm having an issue where if I do an update to the actives iframe after doing an update to the message iframe, the actives frame does not update. Trying to figure out what is causing this. function updateWindow() {parent.window.frames['message'].location = 'http://mysite/people/message.aspx';parent.window.frames['actives'].location = …

Member Avatar for almostbob
0
56
Member Avatar for yssirhc

This code adds & removes textboxes from the screen. In the remove function, it also renames any textboxes that come after the one deleted so that the numbering stays in order (i.e. 1,2,3,4 instead of 1,2,4,5,8) and updates the count parameter of the textbox's corresponding remove link so that the …

Member Avatar for yssirhc
0
134
Member Avatar for veledrom

Hi, The examples in w3 page don't work. I do copy and paste and create exactly same database but nothing changes. It returns "Error on Page" error. [url]http://www.w3schools.com/php/php_ajax_database.asp[/url] [url]http://www.w3schools.com/php/php_ajax_responsexml.asp[/url] [url]http://www.w3schools.com/php/php_ajax_livesearch.asp[/url]

Member Avatar for nav33n
0
166
Member Avatar for cpeeyush1

hi i an designing a website and i just want that if a user open it on any resolution then it will fit it self to that resolution and no scroll bars will come like google,yahoo etc. i know it is possible but not know how so pls help me …

Member Avatar for Nickolls
0
148
Member Avatar for Designer_101

Hi Is there a function in javascript the same as PHP's exit() I have: [CODE]<script> ****EXIT OR EQUIVILENT IN JAVASCRIPT***** </script> <a id="java" style="color:#FFFFFF; ">Enable javascript to view my website</a>[/CODE] This tells me if javascript is on or off.

Member Avatar for nav33n
0
50
Member Avatar for danielagaba

hi I'm using the following javascript code to generate an sql statement using field values. My problem is I want to encode the value of the field password using base64 encode [code] function changereadonly(field){ var sql = "UPDATE%20user%20SET%20" if(field['button'].value=='SAVE'){ for (i = 0; i < field.length; i++) { if ((field.elements[i].name …

0
53
Member Avatar for James1997123

Ok... First off. I am not talking about javascript tricks for your website. These scripts are just for fun. To make these codes work, all you have to do is copy and paste it into the address bar of your browser window and hit Enter (Yes the little bar in …

Member Avatar for chriswellings
0
606
Member Avatar for me!

Hi I want to build a remote web-support application for my website, kind of like logmein type; 1.- Be able to use remote user's desktop upon request. 2.- It has to be an easy to get application for remote users, may be a java script or something. 3.- On the …

0
89
Member Avatar for GeoffC

I am using the following to set up a textarea for the input of the body of an email. [ICODE] <textarea name="body" id = "body" ><?php echo $sig?></textarea> [/ICODE] the php inserts a "signature" into the textarea. When I tab to it, the cursor goes to the end of the …

0
57
Member Avatar for jyotiu

Hi All, I am displaying an image from database using php .... the problem is that i want to give a row of colors beneath the image .... so that when a user clicks on one of the color .... the image should change accordingly ... in my case i …

Member Avatar for nickfday
0
135
Member Avatar for rouse

Two related jQuery questions. Is there a way in JQuery to slide to a particular point such as slide 10px or slides to a DIV, the parameters passed in the functions are speed and callback. Second questions: I was hoping I could filter on a name with a jQuery option …

Member Avatar for rouse
0
62
Member Avatar for sawant_nitesh

I am confused in choosing JavaScript Framework for my Project. I can choose any one of the following frameworks........ [COLOR="Red"][B]EXT JS[/B][/COLOR] [COLOR="Green"][B]EXT-GWT[/B][/COLOR] [COLOR="Red"][B]YUI[/B][/COLOR] [COLOR="Green"][B]jQuery[/B][/COLOR] [COLOR="Red"][B]dojo[/B][/COLOR] and many more....... I don't have any knowledge of any of above all. I am going to start from scratch. But which one to choose …

Member Avatar for ejosiah
0
55
Member Avatar for dave_nithis

When you type [url]www.google.com,it[/url] will take you to [url]www.google.co.in[/url] or [url]www.google.co.uk[/url] based on your country.Similarly I want to do for my web site.Can anyone give me simple and easiest way to do this?

Member Avatar for ejosiah
0
64
Member Avatar for theighost

Hello, I have this script for an ajax slideshow. I made the functions and they are working perfect in Firefox, but in IE they are not working? could the error be when I call the functions, or might it be the functions themselves here are the functions [CODE] function isIE() …

Member Avatar for theighost
0
96
Member Avatar for 88omar

Hello there am having a little problem i am trying to add some validations to this from i made the form using tables however its not being color coded and when submitted its not checking the appropriate validations? any body can spear to look at it please. [code=Javascript] <html> <head> …

Member Avatar for 88omar
0
92
Member Avatar for veledrom

Hi, Code below doesn't add new innerHTML into table cell. When it adds it should run other (slideOther.js) file but, doesn't work. Thanks [code] <html> <head> <script type="text/javascript"> function startSlide() { el=document.getElementById('productsBigCell'); el.innerHTML='<script>var slide1foldername="";</script><script src="slideOther.js" type="text/javascript"></script>'; } <script> </head> <body onLoad="startSlide();"> <table border="0" cellspacing="0" cellpadding="0"> <tr> <td id="productsBigCell" colspan="5">&nbsp;</td> </tr> …

Member Avatar for veledrom
0
111
Member Avatar for Remulon

Hi I have an AJAX script which is used for a "live search" type function. When a user begins to type their search, after 3 characters, my AJAX script jumps into action and shows them a list of possible results. I has worked fine for months, and now suddenly I …

Member Avatar for sillyboy
0
62
Member Avatar for yssirhc

Background - this code adds & deletes file inputs from the screen as well as adds & deletes them from an array that will be used in the uploading process. I'm having trouble splicing the correct value from an array. In the remove function, I think it is always removing …

Member Avatar for digital-ether
0
103
Member Avatar for cronodevir

I have reinstalled serveral times for diffrent reasons, one of them being that javascript links all the sudden stopped working with no change in computer settings or software. Sence then, they have never worked, even after numerous reformats. I have the latest Firefox and IE, and the latest Java Enironment, …

Member Avatar for joshuastaple
0
403
Member Avatar for samarudge

Hi, I have the following Javascript code for loading my Google custom search: [CODE=javascript]Search = '<form action="http://www.ututorial.net/search" id="cse-search-box"><div><input type="hidden" name="cx" value="partner-pub-3996237323979957:tenb6ft9bbh" /><input type="hidden" name="cof" value="FORID:10" /><input type="hidden" name="ie" value="ISO-8859-1" /><input type="text" name="q" size="31" /><input type="submit" name="sa" value="Search" /></div></form><script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=cse-search-box&amp;lang=en"></script>'; function set() { document.getElementById('Search_Content').innerHTML = Search; }[/CODE] This works fine …

Member Avatar for almostbob
0
148
Member Avatar for shadiadiph

this seems to work but the new window doesn't resize and none of the attributes are working? [code] <form name="login" action="secure/checkuser.php" method="post" target="mywindow" onsubmit="window.open('mywindow','width=400,height=300,toolbar=no,location=no,directories=no,status=no,menubar=no,titlebar=no,scrollbars=yes,copyhistory=yes,resizable=no')"> [/code]

Member Avatar for leroi green
0
277
Member Avatar for aparna_18

Hi all, I am working on Xalan-J XSLT processor.I have implemented the javascript extension function but in runtime it is showing TransformerException. Please help me on this. I am using `jdk1.6` and included `xalan.jar,xercesImpl.jar,xml-apis.jar;serializer.jar;bsf.jar;js.jar;xsltc.jar` into my classpath. Hereby, I am attaching the code what I have written <?xml version="1.0"?> <xsl:stylesheet …

Member Avatar for aparna_18
0
174
Member Avatar for Narayan15

I created a html form and i want to submit the form automatically. So i used Javascript. I add that html form in java using JEditorpane, but JEditorPane doesn't support javascript. i heard that there is Rhino package which supports Javascript. But I dont know how to add Rhino in …

Member Avatar for Ezzaral
0
156
Member Avatar for arvindikchari

Hello I want that the user should specify the full url to 2 images in 2 text boxes, and these images should be set as the hover image and background image respectively, for a div. How will this be coded Regards Arvind

Member Avatar for Luckychap
0
202
Member Avatar for Vanq69

Hi guys, Firstly I am using Scriptaculous to implement the sortable list but have looked there and not been able to find any reason for this to be occurring. I have a list of sortable items, there are 2 droppables enabled with the list, 1 to delete it and the …

Member Avatar for Vanq69
0
80
Member Avatar for arvindikchari

Hello I have a form where the user specifies a bg image url, and I want it to be set as the background image for a div. The code for the div is as below: [code] <div class="dc m1_t" > <div class="dt m1_b" > <div class="dr"> <div class="dc m1_pad" > …

Member Avatar for Fungus1487
0
126
Member Avatar for sreya.n

Hi all, I want to write some text into a file using javascript.And i am using the following code.But it doesn't work at all. Can you please help me... WriteFile(); [code=JavaScript]function WriteFile() { var fh = fopen("c:\\test.txt", 3); // Open the file for writing if(fh!=-1) // If the file has …

0
77
Member Avatar for Traicey

Hi guys I have 5 images which are hyperlink, so each time I click their color should change to yellow until I click another hyperlink image and also they need to change their height too, I was wandering if thats possible and please I cant use Javascript I need a …

0
52
Member Avatar for veledrom

Hi, Code below runs well in IE only but, i need it to run on other browsers as well. If anyone have same thing for other browsers then plese help me. 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> <script language=javaScript> <!-- Beginning of JavaScript …

0
52
Member Avatar for lifeworks

Hi I have been searching high and low for a javascript which can scroll text horizontally (like on a news broadcast at the bottom on the screen). I'd like to populate this string with items from a database... can anyone help me out with a script which will accept DB …

0
54
Member Avatar for avastreg

Hi to all, this is a related Firefox problem. I have a menu in which is applied [URL="http://typeface.neocracy.org"]typeface [/URL]script. Typeface 0.11 version doesn't support hover on links. There is an experimental version but doesn't work very well for me, so i tried to implement hover by myself. Problem is: hover …

Member Avatar for avastreg
0
227
Member Avatar for sassenach

Hi there, I am using AJAX XMLHttpRequest with PHP in order to view full project photos according to project id. This is my ajax request: [CODE]function getMessageResponse(str){ var xmlHttp; try{ // Firefox, Opera 8.0+, Safari xmlHttp=new XMLHttpRequest(); } catch (e){ // Internet Explorer try{ xmlHttp=new ActiveXObject("Msxml2.XMLHTTP"); } catch (e){ try{ …

Member Avatar for digital-ether
0
131
Member Avatar for nipa.pillai

[code] <script type="text/javascript"> try{ var variable3=(document.forms[0]).server_Name.value; var variable=(document.forms[0]).job_Name.value; }catch(err){} function returnall() { var vald2=checkempty(); var vald3=checkspace(); var vald1=checkemail(variable3); if(vald2 && vald3 && vald1) { return true; } return false; } function checkemail(variable3) { bcd = document.getElementById('EmailAd'); var filter = /^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/; if (!filter.test(bcd.value)&& bcd.value != '') { document.getElementById('emailvalid').innerHTML = 'Please enter …

Member Avatar for ejosiah
0
96
Member Avatar for samarudge

Hi, I have absolutely no clue where to go with this so any ideas would be useful. I want a user to be able to take a screen print and then paste that directly on to the page and upload it to the server. I'm fine with the PHP bit …

0
74
Member Avatar for diegorodriguez

Hello. I uploaded a javascript called 'bmi.js' to a external server, and now I want to use it inside a form. I have put both the javascript tag (line #1) and the form below. How do I glue together both things to get a result in the form window BodyMassIndex? …

Member Avatar for ejosiah
0
125
Member Avatar for swit

Hello, can anyone help me. im working on a project using joomla cms and within a certain component, all of a sudden the save, edit and cancel buttons dont work. all the buttons that have javascript code behind dont work in the joomla back end. plus, the buttons work perfect …

Member Avatar for swit
0
140
Member Avatar for sreya.n

Hi all, How can we open a flv file using the lightbox?I am using the following code <a href="http://myurl.com/video/clock.flv" class="lightwindow">Link Name</a> But the browser still downloads the file instead of showing it in lightbox. One more thing...is it possible to display some text along with this video in the lightbox? …

Member Avatar for sreya.n
0
105
Member Avatar for gagan22

Hello all, I have one problem in javascritpt or i do not it may be ajax need. Actually i am working on a shopping cart. In this when i add product to my cart and after adding that product in my cart . I want to change the quantity of …

Member Avatar for Luckychap
0
126
Member Avatar for sainiricha

Hello All, I'm designing a web page, Having a banner on top, then a search option following it. There is a menu item list below it on to the left.And the content of the links of those menu item should get loaded in the center of the page.And a footer …

Member Avatar for sainiricha
0
60
Member Avatar for cozzie

Hi there I am setting up a text search with 3 search buttons to allow 3 different searches from the one text box. Each search has different values for the 2 hidden elements. So far I've got the 3 submit buttons working with the below code but I can't figure …

Member Avatar for cozzie
0
197
Member Avatar for leroi green

hey all, i've only been using ajax for about 2 weeks but i was wondering, if at all, can you make an effect similar to the one here: [url]www.okayplayer.com[/url] (this also happens on sites like nba.com, espn.com etc) on the top of the page with the pictures scrolling with news …

Member Avatar for leroi green
0
81
Member Avatar for coolkille

I have this javascript. [url]http://www.nihilogic.dk/labs/wikiped...mary/sumbox.js[/url] and this stylesheet [url]http://www.nihilogic.dk/labs/wikiped...ary/sumbox.css[/url] and this line in a php page. <a class="wiki-summary-link" href="http://en.wikipedia.org/wiki/Television">television</a> THE PROBLEM. The javascript returns the result from wikipedia in a floating <div> fixed to the <a class="wiki-summary-link" href blabla bla....> I want the result in a <table> so i can …

Member Avatar for coolkille
0
169
Member Avatar for claritydigital

Hi Daniweb JS guru's, Ive seen this everywhere, but have been unable to find a tutorial, or anything on how to implement it into my php pages. The best example for me to explain with, are live at facebook and youtube. Facebooks newest user status feature the "like this" link …

Member Avatar for peter_budo
0
226
Member Avatar for brechtjah

Hi, I'm trying to create a chat with some code I downoaded of the web and altered a bit. The updating works as long as i'm not opening up another tab page in my browser or as long as i'm not ALT+Tabbing... Which seems kinda strange to me... Also, when …

Member Avatar for digital-ether
0
74
Member Avatar for justapimp

Hello fellow developers I have a site project I've just acquired for a quick repair and I have problem with the url string being truncated because of the "#". What I mean by that is if I have a url string with a nave/value pair: deviceNane= AjaxText #2 only the …

Member Avatar for digital-ether
0
128
Member Avatar for serkan sendur

guys i have come to conclusion that basically pocket internet explorer for windows mobile 5.0 and pocket pc 2003 basically dont support javascript. It is better to do everything based on simplest html tags.

0
64
Member Avatar for albertoro

hi to everyone i am looking for a image scroll like [url]http://tools.yootheme.com/extensions/yooscroller[/url] to be used not on joomla but to any site. Anyone has an idea where to find it please.... thank you in advance

Member Avatar for serkan sendur
0
351
Member Avatar for serkan sendur
0
61

The End.