15,127 Topics

Member Avatar for
Member Avatar for jay.barnes

Hello! I was wondering if I could get some assistance with something that is probably easy for even an amateur javascript coder, but, I just can't seem to get after trying every iteration of code I can imagine. The deal is, is that I'm trying to put together a PHP …

Member Avatar for jay.barnes
0
170
Member Avatar for Kennedy_f

The Java programming language provides a mechanism known as exceptions (in the glossary) to help programs report and handle errors. When an error occurs, the program throws an exception. What does this mean? It means that the normal flow of the program is interrupted and that the runtime environment attempts …

Member Avatar for fuego2008
0
506
Member Avatar for polo_coins

I wrote code below it open me a new window and show current time but I want it will show it in same window and chnge each second here is my code (i think I must use [COLOR="Green"]setInterval function[/COLOR] to change time each second but if I put the call …

Member Avatar for fuego2008
0
152
Member Avatar for sam023

i am making a table with dynamic increament of rows on click of button..!! i have used an autocomplete textbox in a row...!!! which is based on textbox id..!! . . as i know that id should be unique.. so how can i change ID then..? [code=javascript] function add(oRow) { …

Member Avatar for Troy III
0
180
Member Avatar for pabzzmike

hello, i have a mysql database which i use a php script to search and display results with fields make, model, price, year and would like to add extra functionality with presumably javascript to add a drop down form field as when a particular make is selected from the list …

Member Avatar for BzzBee
0
113
Member Avatar for sam023

I m using an AutoComplete Textbox..!! i want to pass id and value to the next page..!! here is my code..!! PHP CODE [code=php] $sql1="SELECT * from 0_ledger where group_id not in(1,7) and user_id = $userid"; $result1=mysql_query($sql)or die('Query error:'.''.mysql_errno()); $aUsers = array(); while($row=mysql_fetch_array($result1)) { $aUsers[$row['ledger_id']] = $row['ledgerName']; $imp_aUsers = "'".implode("','",$aUsers)."'"; …

Member Avatar for sam023
0
123
Member Avatar for b0tz

Hello, I need a script that will be added after </body> and will be displayed at the top of the page. I know is posible, I have one : [CODE]<script type="text/javascript"> var object = document.createElement('div'); object.innerHTML = 'The banner script is HERE'; var body = document.getElementsByTagName('body')[0]; body.insertBefore(object, body.firstChild); </script>[/CODE] The …

Member Avatar for b0tz
0
263
Member Avatar for spivey

I'm new to ajax so bear with me. Here's what I need to do. I have an area of a page that has a search look-up for cover art. Currently, when you click on it, it fixes the url and fills a field in that section of the page. I …

0
74
Member Avatar for cg5572

Hi all, I've heard great things about this place, so thought I'd see if anyone had some thoughts on something that's been bugging me. I'm creating a script which causes the page to scroll when the mouse is held down within 1/3 of the page height of the window edge. …

Member Avatar for Airshow
0
392
Member Avatar for MattTheHat

Hi all, I'm having some fun with the good old "object expected" error from IE and was hoping you guys could help me out. I get the error message Object Required : Line 86. mmm cryptic as there is only 67 lines on that page but after some digging I …

Member Avatar for Airshow
0
90
Member Avatar for DealthRune

I need help with this logout link i made When you click it, it should show a confirm box, but it doesn't. Heres the Javacript [CODE] <script language='javascript'> function confirm(){ var f = confirm("Are You Sure You Want To Logout?"); if(f){ return true; } else{ return false; } } </script> …

Member Avatar for DealthRune
0
102
Member Avatar for sam023

i have tried to close child window and refresh parent window..!! and thts working fine..!! . . what i have to do if i want on close child window and refresh particular portion of parent window..! . . is it possible..??? . . thanks.!!

0
57
Member Avatar for halukakin

Hi, There is this nice upload ajax script which I would like to use on my site, it's called "Fancy Upload". You can a see demo&code here: [url]http://digitarald.de/project/fancyupload/3-0/showcase/single-file-button/[/url] The demo shows only one upload form instance on the page. However I want to have three upload form instances so that …

Member Avatar for Airshow
0
169
Member Avatar for Totaal

Hello guys! im a Totaal and i need help anyone and Very Very Thx about "Airline Reservation System"??ref(Internet and WWW How to Programe 2nd). below is the case and i hope someone can help me.. thx.. 12.23 (Text Analysis) The availability of computers with string manipulation capabilities has resulted in …

Member Avatar for essential
0
401
Member Avatar for lifeworks

Hi I have a small app, my first real ajax project, which gives you details for product availability, for each day. The user selects a day (from a calendar) and then a time slot within the day. The app then displays how many slots are available for purchase, on that …

Member Avatar for lifeworks
0
74
Member Avatar for Mortez Maya

Hi, in my project I'm using following javascript code to print my page [CODE]<script language="javascript" type="text/javascript"> function CallPrint(strid) { var prtContent = document.getElementById(strid); var WinPrint = window.open('','','letf=0,top=0,width=1,height=1,toolbar=0,scrollbars=0,status=0'); WinPrint.document.write(prtContent.innerHTML); WinPrint.document.close(); WinPrint.focus(); WinPrint.print(); WinPrint.close(); prtContent.innerHTML=strOldOne; } </script> [/CODE] Now question is that how can I know printing document is finished ?

Member Avatar for FlashCreations
0
67
Member Avatar for polo_coins

I have a menu and I want when I mouseover them it change their color and style .Are the any suggestion?

Member Avatar for Troy III
0
302
Member Avatar for drugoholic

Hello, I have this reservation form found on the main page of: [url]http://www.avis.com.lb/[/url] As you can see the current month "August" is selected as the default month and so is the year and day (the day is programmed to jump 2 days ahead for the renting of the car...) However …

Member Avatar for essential
0
2K
Member Avatar for db11

if i have a java interface on a website and that interface contains a box where a user enters a string and then submits it. If I wanted to rapidly submit strings from a list I had (in a text file say), how would I go about doing this? I …

Member Avatar for db11
0
104
Member Avatar for avaitla

I was wondering if anyone could help me out with this issue. I am creating a basic function that will handle movement of an item that is absolutely positioned on a webpage (function moveElement). I begin with the onload event item which calls function prepare which calls function moveElement with …

Member Avatar for Troy III
0
111
Member Avatar for Ranjeet_08

Hi all, I have a problem in javascript , ajax and jsp. Please see this url [url]http://xil.co.in/print_screen_2.JPG[/url]. I am working on this form. There are sum buttons (like submit , add ,edit at bottom of this page , but not visible in printscreen). On click of a radio button on …

0
52
Member Avatar for mortalex

Hey, I'm trying to create a dynamic drop down box where the first drop down box populates the second drop down, but it isn't working. I have two tables; pricelist with fields, -id -groupname -item -price groups with fields, -id -groupname I've got the code and to me it looks …

Member Avatar for leadinnasirawan
0
135
Member Avatar for moiseszaragoza

Hey I am trying to know what is the value of of a check box (true, or false) but i cant seem to get it write [CODE] function getPrice(boxName){ alert(form1.Soft_Top_Cloth.checked) // Hard code box name it works alert(form1.boxName.checked) // passed threw variable not working } [/CODE] [CODE] <input type="checkbox" name="<%= …

Member Avatar for Airshow
0
75
Member Avatar for anish.anick

Hi All, I need to cache some javascript variable values across the page. Consider page 1 has a javascript variable which holds some value and If the user take page 2 and clicks the browser back button the javascript variable value on page 1 will be lost. How can i …

Member Avatar for Troy III
0
96
Member Avatar for garyfrost

Hi I want to include two sets of javascript on one page and in doing so one of the functions stops working. Here is the scripts I am trying to use: 1. [code]<script type="text/javascript" src="slider-js/jquery.js"></script> <script type="text/javascript" src="slider-js/easySlider1.7.js"></script> <script type="text/javascript"> $(document).ready(function(){ $("#slider").easySlider({ auto: true, continuous: true }); }); </script>[/code] 2. …

Member Avatar for ShawnCplus
0
89
Member Avatar for genesistr

Hi, I have timer class and some classes use timer. but when i come back from timer with callback function, i can see this. properties. [CODE] function Timer(dName, dCallback){ this.timer = null; this.name = dName; this.isRunning = false; this.interval = 50; this.callback = dCallback; } Timer.prototype.Start = function() { this.timer …

0
70
Member Avatar for UncleJoe

I have an array of div elements that apparently is too long, but I need all the divs for my dragNdrop application. Could someone suggest a work around? The dragNdrop initialization is... [code=javascript] var elements=['div1','div2','div3',.....,'div400']; //Doesn't work properly var elements=['div1','div2','div3',.....,'div200']; //Works properly window.onload = function() { elements.each( function(item) { new …

Member Avatar for Airshow
0
1K
Member Avatar for wblakenc

Hello all, I have run into an issue with an JavaScript expand menu (you click a menu option a sub-menu shows, moving the other main navigation menu options down). Well I have designed a nice custom script to do just this. The problem is, how do I keep that sub-menu …

Member Avatar for wblakenc
0
108
Member Avatar for dthatsme33

I am creating an classifieds section for the newspaper that I work for. I am able to get the ads to display and search them. I want to add a few features: Save ad Print ad E-mail ad Does anyone know how to do the Save Ad feature? Basically you …

Member Avatar for Airshow
0
72
Member Avatar for manizzi

hi guys? Im new to this so please bear with me. I have not seen a practical example of what I am trying to do so i'd appreciate any help I get. The code below contains a form with a number of fields. I am trying to query the database …

Member Avatar for manizzi
0
138

The End.