15,127 Topics

Member Avatar for
Member Avatar for Swapsry

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"); …

0
67
Member Avatar for Venom Rush

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 …

Member Avatar for Venom Rush
0
107
Member Avatar for tulsi_apr03

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=="") …

Member Avatar for tulsi_apr03
0
161
Member Avatar for hinasaeedali

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)

Member Avatar for essential
0
127
Member Avatar for zanzo

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 …

Member Avatar for mathew.parry
0
111
Member Avatar for nishantdaniweb

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 …

Member Avatar for nishantdaniweb
0
908
Member Avatar for rrocket

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 …

Member Avatar for guest
0
2K
Member Avatar for lifeworks

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 …

0
75
Member Avatar for gagan22

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

Member Avatar for Woobag
0
57
Member Avatar for serkan sendur

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.

0
64
Member Avatar for changeco

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 …

Member Avatar for nav33n
0
101
Member Avatar for brightline

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.

Member Avatar for jaiswarvipin
0
1K
Member Avatar for millsy007

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 …

Member Avatar for millsy007
0
86
Member Avatar for theimben

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 …

Member Avatar for cwarn23
0
95
Member Avatar for theimben

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 …

Member Avatar for theimben
0
65
Member Avatar for arvindikchari

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 …

Member Avatar for essential
0
247
Member Avatar for laxminarayanaou

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 …

Member Avatar for laxminarayanaou
0
83
Member Avatar for ktd

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 …

Member Avatar for scrager
0
129
Member Avatar for progurammaar

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() { …

0
178
Member Avatar for arunmozhi

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 …

Member Avatar for mschroeder
0
100
Member Avatar for viron

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

Member Avatar for mschroeder
0
102
Member Avatar for serkan sendur

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?

Member Avatar for fpmurphy
0
153
Member Avatar for newsteve

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 …

Member Avatar for hoogi
0
112
Member Avatar for Potato.Head

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 …

Member Avatar for scrager
0
143
Member Avatar for netsperience

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 …

Member Avatar for scrager
0
506
Member Avatar for hbk_star2006

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 …

Member Avatar for scrager
0
74
Member Avatar for sid78669

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: …

Member Avatar for scrager
0
452
Member Avatar for FlashCreations

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 …

Member Avatar for mschroeder
0
365
Member Avatar for cjmalloy

I am using some code I found on the internet to make all my external links in a new window. Also, I want to make these links gray. I think I once heard you coulden't change link colors at all once a page was loaded, but I may be wrong. …

Member Avatar for ShawnCplus
0
85
Member Avatar for serkan sendur

is it possible to load xml from local file system using ActiveXObject("Microsoft.XMLDOM") ?

Member Avatar for serkan sendur
0
78

The End.