17,115 Topics
![]() | |
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 … | |
<?php require("header.inc.php"); /*session_start(); if(($useradmin)=='') { header( "Location: error.php" ); } */?> <html> <head> <link rel="icon" href="favicon.ico" type="image/x-icon"> <link rel="shortcut icon" href="favicon.ico" type="image/x-icon"> <link rel="stylesheet" href="colors.css"> <title>Admin Area : Users</TITLE> <META http-equiv=Content-Type content="text/html; charset=iso-8859-1"> <SCRIPT language=javaScript type="text/javascript"> function D(url) { window.open(url,"data","width=550,height=600,scrollbars=no,resizable=no"); } </SCRIPT> </head> <body> <? //This variable is for date … | |
[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 have a rather vague question on Applets. Is there some way for the Applet to communicate back with the JavaScript that runs it? I use the PARAM tag to send information (cookies with username, settings, etc.) in, but I want to be able to get information back out of … | |
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 … | |
I am trying to create a form that is javascript/ajax based, with a serverscript in php. I want to SEND an array for the serverscript to decode/unpack, translate. I want the array object to be an assocative array, such as myarray["age"], and myarray["name"], so i can have the php serverscript … | |
On my website, I have an Iframe open up when a user clicks 'run report' and then the iframe submits the information that is given to it from the initial page to parse the report through an xslt and then spit out a word document. I need to find a … | |
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? | |
Does any one have a recommendation for a basic Java book for someone who is new to anything other than web development (Javascript and XML). Perhaps something that might include servlet or J2EE? Thanks a lot! THT | |
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 … | |
Hi all, I have a text area, in a form, that only allows basic text and punctuation. I'd like to be able, in certain circumstances, to allow links to be added, in a similar way to the text editors here on daniweb. Can this be done with php, or do … | |
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. | |
Hi, how could one do this part... I got a form with image path and image url. I need to automatically save the path of the image that i have selected in the browse -> poped up dialog. to image url. Request pointers for above.thanks in advance. Hari | |
Hi All, I need the help of a real expert because I'm still having difficulty with this Ajax technique. I have posted before about this on another site forum, but no replies (sigh). The script below works with FF only when the alert is in the code, and doesn't work … | |
Hi! I don't know if this has been answered already and a search gave to many results. I have a website that is built with ASP.NET and that uses some javascript. When I run a debug on localhost to check for errors the ASP.NET code works just fine, but every … | |
hi, i'm trying to build a web page which permits the user to login before accessing the contents of the site. the login works fine (i did it using jsp), but i am not able to logout properly, that is, when i click on a "logout" hyperlink, it sends me … | |
Is it possible to make an entire [INLINECODE]<div>[/INLINECODE] into a hyperlink using CSS only, as can be easily accomplished with mouse events in JavaScript? I'm assuming it's too good to be true since CSS isn't interactive? Nevermind ... I guess I just answered my own question :( | |
Hi, Based on review of [URL="http://www.ciaobellaphotos.com"]our home-based photo business site[/URL] and other reading on this and other forums the opinion seems fairly universal that use of frames is a bad idea, BUT ... Seems to work... - with 1024x768 or larger resolution there's no scrollbar on the sample galleries - … | |
hi i want to know how to use calendor control using javascript in php... please tell me the code | |
how to disable the parent window when we open the child window. i have written this code but its working only one time.any one can help me s.html <html> <head> <SCRIPT > function popuponclick() { my_window = window.open("p.html", "mySelect", "status=1,width=750,height=450,resizable=no"); } </script> </head> <body> <form name="formSelect"> <P> <A HREF="#" onclick='popuponclick()' … | |
I am working on this program that will show interest in an account for each year for 10 years. I want to click on a button and it display the interest for each year for 10 years. The box shows up but the calcuations do as well. It all comes … | |
Hi Frnds, Can Anyone tell me, how can I , [B] Change the BACKGROUND color of selected text in TEXTAREA[/B] sanjiv | |
I am not a computer programmer but have an assignment that involves javascript. I need a program that will display the interest in a savings account if I deposit $1000 at 5% interest for 10 years. I need it to show the interest each year for each of the 10 … | |
not sure if i'm using the right term... i'm having a prototype built and i found that the programmer I hired isn't using php to show form errors. he's using javascript. there are 20 different forms in this app, from user profiles to submitting photos and videos. the site is … | |
hi everyone, I am in problem to get the array data from php to use it in js. $data[0]=88; $data[3]=44; $data[4]=2232; I want to use those data in js. Can anyone help me ?? | |
Is it possible to transform this into a html/dhtml/ccs [url]http://ecx.images-amazon.com/images/I/41gsdg45CIL._AA262_.jpg[/url] 41gsdg45CIL._AA262_.jpg I did this by right clicking on the picture and going on the properties I was trying to cut and paste so I can put it on myspace. ON the EditProfile So there is anybody? Is it possible or … | |
hi, i am new to java script but my code is not working...please do tell the error in my code <script language="javascript"> function validateform() { valid=true; for (var i=0; i < document.userdetails.elements.length; i++) { var element = document.userdetails.elements; switch (element.name){ case "cname": if (element.value.length==0) valid=false; break; case "address": if (element.value.length==0) … | |
Hey everyone, I'm looking to create an asp.net calculator but not exactly like most of the examples you'd find on the web. Basically all I want is a textbox field where you'd type an integer followed by one of four basic math ops and then display the solution in the … |
The End.