15,127 Topics

Member Avatar for
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
110
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
59
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
102
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
401
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
144
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
260
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
172
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
153
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
197
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
78
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
123
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
76
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
49
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
50
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
52
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
224
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
129
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
92
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
71
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
122
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
139
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
104
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
123
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
58
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
193
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
78
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
167
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
224
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
72
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
125

The End.