17,115 Topics
![]() | |
Hi I have made a page thats makes an AJAX call to the server gets the time and displays it. In the OPEN method i have set req.open("GET","/timerProg.cgi?param1="+new date(),false); I have set the last parameter as false as i am expecting a synchronous request so that time displayed should be … | |
I am designing a site with a javascript login that leads you to a flash actionscript site. What language would I be looking at for a database? Mysql? I can use any feedback. | |
Problem: Upload all the file in a folder to Server using JavaScript / web service I was trying to upload all the files from the specified folder from the client machine to the server. At the client side, I used JavaScript to read the entire file from client machine While … | |
Hi to all I have the following problem: I have a main page(html) and an iframe in it. [code] <html> <body> <iframe src="myIframe.html" /> </body> </html> [/code] In the iframe I have DIV element with a picture/or another element in it. I need to center the DIV element in the … | |
This code was working originally. Then I had made some modifications and things weren't going right so I went back to how it was originally, and now it's not working! What this does is add a file text box when you click a button & then remove it when you … | |
Hi all, I have just created a template for my website and then have put in my GOOGLE Adsense script in it. When i open it with Internet Explorer. The page gets displayed nicely. But when i open it with Mozialla Firefox it doesnt display any Adsense ads. Secodnly the … | |
Hi, I have a question about Java. I'm really new to Java so this is not something I'm familiar with.. My question is, how do I get the values of pos.offsetTop and pos.offsetLeft to show up in my input box?? Here is the java code: [code=JavaScript] function getPosition(element) { var … | |
I was wondering if anyone knows how to get flash to open another html page after the movie has played. im trying to make an opening page to my website which plays a short movie with the company logo on etc. When the movie has loaded and finished playing I … | |
Hi. I got a page on which on the left side there is a Tree with branches, on the right side of the page i got an <EMBED> tag that shows a pdf file, User can click on tree branches to expand them and can click on the leafs to … | |
I am working on a site that must drag and drop items, I use scriptaculous 1.8.2, effects, dragdrop.js. See the picture of the website: [url]http://http://www.freeimagehosting.net/uploads/a5e185062a.jpg[/url] or [url]http://img11.imageshack.us/img11/4913/myplansite.jpg[/url] [I](each number 1..8 is an drag and a dropable)[/I] But now I am lost, I kan drag, i can drop and invoke the … | |
Hi friends, I done my website menu with javascript.here problem is that its not working with IE7 but working properly with IE5. In IE5,when i place mouse on services it is displayed like below submenus will shown.it is fine home services products contact how it works private banks why it … | |
Hi There :) I purchased and downloaded this flash gallery from Mmfiles.com <- Good site. Now, of course I'm looking to insert this versatile resizable flash gallery, into my website that was designed in Dream-weaver cs3. [B]Are there any good tutorials you might know to help me do this ?[/B] … | |
My strength is not java script and with the complex issues of dealing with the Vbulletin interface and then the java script which i do not really understand yet fully I hopeing some good soul will come to my add fast and get me through this. I do not expect … | |
My html/javascript code will not run and I am frustrated so I am not going to be able to understand why the code is not running. We were introduced to functions and here is my attempt. When I run the code in Firefox/Mozilla I receive an error stating that Grades … | |
Im sure this has been discussed endless times but I can't find anything which will do it how I want to. I want to seemlessly execute some PHP onclick. It will just update a row in MySQL and I dont want the user to be aware of this happening. How … | |
Hi guys! I'm trying to get my two variables "firstinput" and "secondinput" to be both NUMBERS and BOLDED. Only I can only get one or the other, but not both at the same time. :( Any suggestions on how to get them both to work? [code=html]<html> <body> <h3>Input two numbers</h3> … | |
Wasn't sure what to put as the title, but what is happening is this: I have div elements on a HTML page, when they click on the div it is replaced with a textarea containing the div contents in order to edit this (eventually there will be a form/submission button … | |
Hi friends, I done my website menu with javascript.here problem is that its not working with IE7 but working properly with IE5. In IE5,when i place mouse on services it is displayed like below submenus will shown.it is fine home services products contact how it works private banks why it … | |
Hello, I got the following code from someone and have tailored it to fit my needs but I have a problem. The first menu populates from my MySQL database. However, when the first menu is selected, the second menu will not populate with the correct information. Zero is the only … | |
Hi, I've one checkbox,I need to capture the status of this checkbox(i.e checked is "true" and unchecked is "false") to the java method as parameter. Please advise if there is any way i can accomplish this.. I've check box like this <h:selectBooleanCheckbox id="checkMedia" onclick="toggleDeleteAll()"/> Javascript to get the status of … | |
Hi frnds.... i am trying to do search like google.... my files r here......but it displays error.......plz check the code what the error? [B][U]error:[/U][/B] [B]error:'window.google.ac' is null or not an object. char:1. line:19.[/B] eg: in a text box type "a" then "a" related words r displayed... [CODE]<?php $file=fopen("http://www.google.com/complete/search?h1=en&js=true&qu=" . $_GET["qu"],"r"); … | |
Hi there Having trouble calculating the final cost of choices made by a user. I have 4 radio buttons and 2 checkboxes. The first three radio buttons are, all intensive purposes, chocolates with the last radio button stating that the user doesn't want any of the chocolates. The two checkboxes … | |
can anybody help me , how can we call a javascript function using firefox browser. my code is working fine when im using IE but not for firefox. Why i cant understood.When im clicking button no action was taken and nothing was happned. [code=JavaScript]<script type="text/javascript"> function login_validate(frm) {var name=frm.user_name.value; if(name=="") … | |
Respected, Requirement is when body loaded there must be 1 increment in the variable. and total number of loading the body display on the button (document.button name.value=variable name) | |
I have a frame that includes a hidden <div> at first (before any action), the problem is that when opening the page, I have a white space, and i can't reduce the size of the frame because the content of the <div> will not appear! how to hide the white … | |
Hi All Could anybuddy tell me how to rename/hide the title in the popup window. I found the below code from google. this code is working fine. Actualy I don't want to show the url to the user. Below code helps to hide the address bar. But still user can … | |
I am passing a value through query string to a popup and then trying to pass it back to the main page... I store the value in a hidden input box [code] <input type="text" name="FromZip" id="FromZip" value="<% response.write(Request.QueryString("txtZipFr")) %>" /> [/code] and am passing it back through query string to … | |
Hi Im trying to re-make one of those image galleries where you click the thumbnail and the whole browser window is blacked out with the larger image displayed in the middle. Ive gotten as far as finding a script to hide this black layer and reveal it onMouseClick... but if … | |
hi everyone, I got one javascript error which is coming when i am writing javascript code for numeric value. It is showing "Invalid Character" error . Why this error is coming ? Please tell me the reason of this coming error. So i can solve this problem. Thanks Gagan | |
hi guys, today i found out that there is a free javascript multithreading library at : [url]http://www.infoq.com/articles/js_multithread[/url] it is under GNU license and free to use. It is a great and very easy to use tool. | |
I have a small elearning app and I want to check against the DB for the start and end dates (from mysql) and if they meet the criteria, good, else location.redirect to expired.php?? It doesn't redirect, any suggestions? Here's an example below... [code] function Timebomb() { var StartDate = <?php … | |
Hello, I call the imagettfbbox function like so `imagettfbbox($font_size, 0, 'monofont.ttf', $code)` but its generating the following error: 'imagettfbbox() [function.imagettfbbox]: Could not find/open font' monofont.ttf is in the same folder. And the code executes fine on the server. It just won't work on my computer. This leads me to believe … | |
I want to check if the user had selected a node from a treeview or not using javascript. I'm using VS.NET 2.0. Thanks In Advance. | |
Hi I have a form on which I run some validation, if any of the conditions fail I show an alert. For example for the name field [CODE]<input type="text" name="name" id="name">[/CODE] [CODE] if(trim(cname.value) == '') { alert('Enter a Name'); cname.focus(); return false; }[/CODE] This is called when a user clicks … | |
Firstly, can I just say. I know this is really badly written but its to the best of my ability. Right, on index.php it makes a query which should go to search.php. Search.php handles everything. It makes a request to ajax.php which makes the request from the database. The problem … | |
Im using vBulletin and Im making a little script which needs to integrate with it. But due to vBulletins lack of PHP plugin support I have to use a client side language to make it work. So I have this script, its queries a database and has pagination. I want … | |
Hello, I have a script which uses a colorpicker in which the user can select a color, and in the preview section the color of one div is changed to this color value. This is done by a javascript function of the color picker. called setcolor. The code for this … | |
There is a text box in html page in that we type any id (i.e string) then automatically it show a drop down list bellow the text box. And that list having ids those r retrieving from Mysql database table. (Totally it is like igoogle search box and button) please … | |
Hi, I am new to this forum and PHP. I am looking for a recommendation on a PHP IDE. I do not want to spend too much money. I am a former Java and Microsoft developer (Java, C#.NET, ASP, JavaScript, HTML, SQL Server). It has been some years since I … | |
Ok guys, I need some help with this one. I've been beating my head for a day now trying to get this code to work and have gotten nowhere. Let me give you an idea how this web app works: What this does is create a ticket with a date … | |
what am i doing wrong, it does not echo "hello"......ths page is unt.php [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> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title> <script type="text/javascript"> var ht=false; if(navigator.appName=="Microsoft Internet Explorer") { ht=new ActivxObject("Microsoft.XMLHTTP"); } else { ht=new XMLHttpRequest(); } function chkLogin() { … | |
Page is Served successfully but showing error in the status bar.. of the browser... Purpose of the Script is to load an Gif image before page Loads.. Here is the Script.. [code=html]<script type="text/javascript" language="javascript"> /// To load the gif before page servers.. while delaying.. if(document.getElementById) { // IE 5 and … | |
i want something like timer that we see in rapidshare free usage that makes user to wait for sometime before the download link appears please give me some code eg | |
Compared to javascript's power, i think xslt is so weak. i prefer parsing xml document to whatever html representation using javascript and i cant see any use of using xslt for that matter. What do you think? | |
Hi, On a rollover I am looking to change an image AND have a sound play. I was hoping to do this with javascript. The image is done but the sound - I have been looking into it (sound with javascript) and it seems like this is a thing of … | |
Hi to all I'm trying to get an iframe and call a function that is define inside the iframe, every thing is working OK in IE and Safari, when I try to do the same in Firefox is not working. The followoing is the code I'm using, any ideas, how … | |
I created a prototype.js/window.js "Window" pseudo window div with another page from the same directory loaded in its iframe I could not put a button/link on the iframe doc that would close it by calling functions in the parent window I used "window.parent" "parent" alone "top" but the only thing … | |
Hello friends!! Please help me to remove this error from my webpage. Actually i have downloaded a javascript scrolling images code from a website. This code works fine when i used it alone in a webpage. But when i insert this code in my webpage, it works fine , but … | |
hey, I want to write a small snipet which will first prompt the user to input a javascript command, and then execute that command on the current page. Is there any way to do it?? say the prompt is like: [CODE=javascript]javascript: prompt();[/CODE] (its working) and the command is : [CODE=javascript]javascript: … | |
Hey Everyone! I have come across a very interesting problem that seems to be impossible to solve. Basically a web application that I am working on relies on a JavaScript function called go to change the input named view to the page name and submit the form. This form's type … |
The End.