15,120 Topics
| |
Hi, Im having trouble while trying to show full text of the different options included in a select when its width is limited. The idea is to show the full text of the option (there are quite a lot of options that just differ in their last 2 letters, and … | |
Hi, I have a table in my database that´s like that: create table t( id int, name varchar(30), father_id int, Primary Key(id), Foreign Key(father_id) references t(id) ); I´m trying to do the follow: 1) Create a select box witch each option has an id, that when selected it search on … | |
Is there a way to check Iframe is supported by a browser or not in the JSP using some script. Please let me know! Its urgent | |
Hi, I 'think' this is a JavaScript problem, but I am not sure. I am trying to make a modified layout using one of Dreamweaver's preformed layouts. The original layout has a navigation bar across the top of the page, that has drop down menu items. In the original form, … | |
Hello, I get an error message saying flow() is not defined when I debug in firebug. I am not sure why this is happening. Here is my code: [CODE=javascript] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Image Flow</title> <script type="text/javascript"> function imageFlow() { var R = … | |
I like this script one click at a time....only one page at a time in order is what I would like it to do Not random...... can anyone help me or is there a script i haven't found that does the same..??? Thanx so much for help..... CODE: <script> <!-- … | |
The only experience I have in programming is with Java, and I am somewhat experienced in that. However, I have only just touched the surface of javascript by implementing google maps into a page of mine. My question is in regards to what I should keep in mind when creating … | |
[URL]http://www.daniweb.com/blogs/showentry.php?entryid=655[/URL] In reference to the script made by ben at the above address. I'm trying to decipher how to create a toggle where as, only one "slideblock" can be open at a time. When you try to make one visible, all others "slidein". Anyone have any ideas? Javascript has always … | |
I have this bit of php that works fine as is but I would like to separate out the javascript calls to an onLoad function. [ICODE]<?php include("casefile.class"); $cf = new casefile_Rec; $seclogin=$sess->getSessVar("seclogin"); if ($cf->primary_case_list($seclogin["uname"])) { echo "<ul>"; while ($row = mysql_fetch_assoc($cf->res)) { if ($aLine=="evenListing") { $aLine="oddListing"; } else { $aLine="evenListing"; … | |
I am just getting to know the abilities of AJAX and it sounds pretty powerful. I have gotten feedback on a couple new projects I am working on and many responses say that AJAX is the way to go. My question is...is AJAX something a novice can use? Can you … | |
Hello, Does anyone knows where I can find some good prototypejs tutorials. I find their official documentation very hard to understand. Please supply me with some good links to learn prototypejs. Thanx a ton | |
Hello, This is my first post here, so Hi everyone :). I was advised to come to this site by a friend regarding a query that I have, so here I am. So we have the E-Commerce subject in this semester. One of the case studies given to us involves … | |
Hi all I want to access hidden values by javascript what's wrong on bellow code: <html> <head> <script language="javascript"> function func(i) { var x=document.form1.array[i].value; alert(x); } </script> </head> <body> <form method=post name=form1> <?php for($i=1;$i<100;$i++) { echo "<input type=hidden name=array[$i] value=$i>"; echo "<input type=button onclick=func($i) value=$i>"; } ?> </form> </body> </html> | |
Hi All, I want to display the string captured by using onkeypress event now my problem is i am able to display the string in the text box but i want to display it using <span> or <div> as a string i am attaching the code also : <html> <head> … | |
Hi All, I need one help in handling unicode data in java script. I want to run a loop to print a series of characters. Since '\u0041' represents character "A" but can I write a counter let say from '\u0041' - '\u0067' to write all the characters from "A" to … | |
Ok guys, I have a form I want to email the data to my email addess. There are three inputs, two text and one text area. On submit I would like it to display a thank you page. Whenever submit is clicked, I get a script error(thank you page never … | |
Hi All, When trying to change the bcackgroundImage of element useing javascript method style.backgroundImage="url(blue_link.gif) no errors found but the script can't find the image so what is the correct way to use the address of the image? Thanks very much in advance, Fred | |
how to calculate the days between two dates excluding saturday and sunday foe example if i am calculating the days between 14/12/2007 to 17/12/2007 the answer for no of days should be 4... pls send the code for above problem. advance thanks hidash. | |
Hello all, I am helping create a website. Over a particular Image I have, I want it to say the name of the link, ie Home. While I got my cool flash things working where the image changes colors on mouseover, I can not get the text of the link … | |
hi all, can anyone help for my problem. is it possible to get iframe id like case below? index.html <iframe id="iframeid" src="checkid.html"></iframe> checkid.html <script>alert([iframeid]);</script> advance thanks. sumiko | |
Hi, I am new to Javscript, and I need some help in accessing a set of <p> tags after <a> tag using getElementsByTagName('p'/'a'); I want to access the <p> tags after <a name="PAGE2">, <a name="PAGE3"> etc. This is what the HTML body has: <p class="verdana">First Paragraph </p> <p class="verdana">Second Paragraph … | |
so apparently you can't call a page containing ajax from an ajax script. So I hear. I've also heard about a work around. Something like having all the ajax on the parent page or something. Does anyone have more information on this? | |
I have a javascript that I have been using for a long while now, and I have the need now to make it work differently. I have it where when the mouse goes over a link it will give you a 'tip' as to what that link is for, or … | |
Hi, please forgive my amateur ways ;) I'm using [URL="http://www.dynamicdrive.com/dynamicindex14/leftrightslide2.htm"]this code[/URL] to to make a scrolling couple of pictures. At present, using dreamweaver mx, I've got a static picture right justified with text wrapping around it. Now if i replace that single line of code with the above, although i … | |
Hello everybody, I wrote a file using AJAX this is the code I wrote: File.js [CODE]var http = createRequestObject(); function createRequestObject(){ var request_; var browser = navigator.appName; if(browser == "Microsoft Internet Explorer"){ request_ = new ActiveXObject("Microsoft.XMLHTTP"); } else{ request_ = new XMLHttpRequest(); } return request_; } function getInfo(){ http.open('get', 'GtCht.php'); … | |
The site: [URL="http://listenlight.net"][B]listenlight.net[/B][/URL], does not work in IE. The javascript is really pretty simple, I think, so I will appreciate any and all help to get it accommodated for IE. The page views are way down, when they should be way up, given the design. Thanks. Also, as an off … | |
Hello everyone, I need to change the value of a jsp variable in javascript. I have got this code in my .jsp page: <c:set var="searchType" value="jobsearch" /> the value of the "searchType" should change depending on which link the user click on. I though if I put this variable in … | |
Hi everybody, I have a question: :-/ I want to submit a form in an HTML page by pressing Enter and it does not submit if I press Ctrl+Enter | |
hi all, can anyone help for my problem. i want to count number of pages in a pdf file using java script. i dont know whether it is possible. so pls tell its possible or not. if possible means send me the code... advance thanks hidash. |
The End.