20,316 Topics
:) hi there daniwebies, can anyone have a sample of source code on reloading two frames in a page by a link? [php|javascript] - setup is frame[one] and frame[two] is both located to index.php - frame[two] have the link [[U][COLOR="Green"]reload page[/COLOR][/U]] - clicking frame[two] reload link should reload both frame[one] …
i want to control print setting throught jsp or javascript set landscape when clicking on print button directlly plz any support appreciated!
I need to create a program where in you would draw a line, just like the paint application, but if you drag it, the lines you created would be deleted.It also displays the(x,y) where your mouse point at in the screen. I'm starting on nothing.So anyone who can help me? …
What are event handlers, trigger functions, forms interfaces and event loops with example of how they can be use?
I wonder if someone can point me toward some native functions to help me locate the physical co-ordinates of a flash object on a webpage. Its not static and depends whether there are advertisements on the page and other user specific options. Unfortunately I have no code yet as I'm …
[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=iso-8859-1" /> <title>Simple</title> <script type="text/javascript"> function showHide() { if(document.getElementById('Checkbox1').checked) { submit.disabled=false; //document.getElementById('submit').disabled = false; } else { submit.disabled=true; document.getElementById('submit').disabled = true; } } </script> </head> <body><h3>Online Application Checklist</h3> <p><br /> <br /> Please review the following …
[code] <tr> <td height="12" align="left" class="cont"> <asp:CheckBox ID="chkacsoutreach" runat="server" />Acs Outreach </td> </tr> <tr> <td height="12" align="left" class="cont"> <asp:CheckBox ID="chkaceportal" runat="server" /> Ace Portal </td> </tr> [/code] I took some checkboxes in the following way.I should get a message if atleast 1 checkbox is not checked and the values should …
Can anyone tell me how or what's the JavaScript code to perform the following: 1. I have two frames on my web page. (Top and Bottom) 2. Top Frame is data 3. Bottom Frame are some Controls. (Print button, Back Button, Close Button.) 4. I'm using VB.Net creating aspx pages. …
[code] <tr> <td height="12" align="left" class="cont"> <asp:CheckBox ID="chkacsoutreach" runat="server" />Acs Outreach </td> </tr> <tr> <td height="12" align="left" class="cont"> <asp:CheckBox ID="chkaceportal" runat="server" /> Ace Portal </td> </tr> [/code] I took some checkboxes in the following way.I should get a message if atleast 1 checkbox is not checked and the values should …
hi all, i followed my first AJAX tutorial on the web: [url]http://www.dhtmlgoodies.com/index.html?whichTutorial=ajax-basics[/url] the AJAX is working fine on the site itself, but when i download the source codes provided with the tutorial, it won't run from my machine. i checked this with several tutorials and all same. i.e. no results …
im in a bit of a trouble i have a drop down list which contains various items,on selection of one of a item,a text box and submit button appears,for this i have used javascript and div tag.now i want to enter the no in that text box and on submitting …
Hi, I have set of html pages that are installed locally on machine. I want to make ajax call to local files. In Firefox everything works fine. IE is able to load html pages through ajax call but not able to load xml document. Chrome doesn't support ajax call locally...and …
Ok, I have to do an assignment for cass. The teacher wants us to use a FOR loop to print out only first three variables stored in an array called $birds. How do I use a FOR loop to print out only those first three? And furthermore, how would I …
Hi, I need xml data to be used in javascript. When I embed the whole xml in html page then I am able to access xml. But when when I use src tag I am unable to get xml file. Code is below: XML Data island in html page. [CODE]<xml …
this is my function which is calculating values. But if any of the values is empty it does not calculate the total payment value. if there is any simple way to calculate pls let me know [CODE]function startCalc(){ interval = setInterval("calc()",1);} function calc(){ room_charges = document.ipd_bill.room_charges.value ; lab_charges = document.ipd_bill.lab_charges.value; …
How can I create a function similar to Google Buzz or Facebook, where the user types an '@' symbol followed by a username which is then turned into a link? Example: Input is: "Hello, @example_user!" And the output is: "Hello, [URL="http://example.site/profile.php?u=example_user"]Example User[/URL]!" ([url]http://example.site/profile.php?u=example_user[/url]) This, I'm sure, would be simple to …
i am new in js and i have a problem on auto click a link..after the slide show of the images i want to auto click the last image, is it possible? this code below that i have search it redirect the link without showing the image slide show.. [CODE] …
I have a javascript test function to determine if items have been entered but it appears that the function never completes, it runs the for loop but not the items after it??? I can produce a screen capture video of the events that happen, contact me and I will send …
Hey guys this is kind of a JavaScript question but the script works elsewhere so I have a feeling it's got something to do with the fact it's being echoed by php. Can anyone tell me why this isn't working: [CODE] if (($_SESSION['count'] % 5 == 0) && ($_SESSION['countView'])) { …
Hi i have finished my web browser program and i want to be able to set it as the default web browser. I was just wondering how this was possible? Please can you post some links or code examples. I was thinking that this would be done with registry values? …
[url]http://keyonary.com[/url] When you search for something like paste all of the keyboard shortcuts slide up on your browser. I know its making a ajax requested and then using jquery for the effect. BUt how is it done. Is there a plug-in or anything in ruby that is similar.
I'm having problems getting this button to work here is the HTML [CODE]<head> <script type="text/javascript" src="Objects.js"></script> <title></title> </head> <body> <form> <input type="button" value="Go Searching!" id="work_car" /> </form> </body> </html>[/CODE] And here is the JavaScript: [CODE] function car(seats,engine,theradio) { this.seats=seats; this.engine=engine; this.theradio=theradio; } var work_car=new car ("cloth","V8","Tape Deck"); b1.onclick=work_car(){ document.write=("I want …
I'm trying to create a dynamic menu using jQuery, so I've built a basic one and I'm having problems making it look more impressive. At the moment, I can click on an item and the contents will be displayed above the rest of them. I want the content to slide …
hi i have two listbox that contain values in its list and from two diffrent table when i will select any value in first drop down box than second listbox will automaticaly load all related valus of i.e +---------------+ ! ---select--- ! !_______________! +---------------+ ! ---select--- ! !_______________! see it …
Unable to redirect to the page using window.location of javascript for the code given below [CODE]<script language="javascript"> function confirmation() { var answer = confirm("Do you want to add more Bussess?") if (answer){ } else{ alert("Thanks for using Bus Entry form") window.location = "adminHomePage.jsp" } }[/CODE] Anyone can tell me the …
Hi, I'm fairly new to javascript and am trying to figure a relatively simple thing out. I have two drop-down selectors I want to display, one that lists countries and one that lists cities in the selected country. I want it to be the case that on changing the country …
here is the java script where i used window.close() function but it's not working. <script language="javascript"> var answer = confirm("Session expired! Want to go to the home page?") if (answer){ window.location = "index.jsp" } else{ window.close(); }
Hello everyone, i'm using jQuery datepicker with the weekselector like this: [CODE]$(function() { $('#startPicker').datepick({ renderer: $.datepick.weekOfYearRenderer, firstDay: 1, showOtherMonths: true, rangeSelect: true, minDate: '+1d', onShow: $.datepick.selectWeek } ); });[/CODE] what i would like to achieve is to only show weeknumbers, i need a weekselection only, does anyone know how to, …
Hi All, AJAX beginner here... 1. I have a function in .js that creates and gives me xmlhttpRequest-object. It works fine when I call it from a few .js files of my project, but has just started returning null value to a call from one of the .js files which …
Hello All, I have one Requirement that when user clicks on any point on gmap there will display route between that path. if User clicks on 5 points then on gmap route between that 5 points will be displayed. Thanks.
Hi, i have a table with a list of items, each of which has certain values. I want to have a set of checkboxes for the values and another for the items, so the items can be filtered by selecting different values. My question is: will this be better done …
Hi, I m working in jsp project in which I have problem is, Whenever click on different images then some values entered in input text and here I want to when I clicked again any some image that particular value removed from input text. Thank's in advance
Hello DaniWeb kings and queens - Here is a simple jquery .animate block here's the code: [CODE] <!DOCTYPE html> <html> <head> <title>TestingJ</title> <meta name="description" content="Mseed Web Design" /> <meta name="keywords" content="web design, programming, scripting" /> <meta name="author" content="Eric Karen" /> <meta http-equiv="Content-Type" content="text/html;charset=UTF-8" /> <link rel="stylesheet" type="text/css" href="/css/global.css" /> <script …
Hi Im trying to make a script which when I click on the list element... it will replace a big image with anotehr picture. The list element is a thumbnail... and I want to swop the big image with the big version of the thumbnail. Each <li> has a rel …
Hello, I have a search engine that I've created. It searches my MySQL database, but I was wondering how do you make it so it won't refresh the page? This is my form.php [CODE]<?php global $search_term; global $location_term; ?> <form action="index2.php" name="form" style="float:right;width:650px;height:60px;margin-right:30px;" onSubmit="return searchLocations();" > <table style="float:right;"><tr> <td> <label …
I just posted an AJAX forms generator that will read a MYSQL table, allow you to define how the fields are treated and then generate the necessary HTML, Javascript and PHP files to implement the form. You end up with a complete and working form backed by code thats very …
Howdy y'all, Got a question, why were here right, I have a page that is server side - no html included all php - I need to call/include a javascript function to handle a rather complex parsing routine but I am not sure how I go about calling the function …
Hello, I apologize in advance for such a novice question. I have an ajax popup on mouseover but my problem is on certain resolution screens, it goes beyond the viewport. So, if the popup is near the right of the screen, I want it to popup on the left and …
Hi, I make an application in java ME (client) that connects to a PC application (server) using OBEX protocol. Connection goes well but I don't understand why I can use the stream to send JUST one message frmo the client and after that I must close the stream to see …
Hi all. I'm working on an entertainment site and I need some script for displaying random flash game. I want the following: the user is playing some game and when he clicks on a dice icon the game dissappears and new game appears on the same place because I don't …
Hello All, I have one problem with gmap api. I want that when user click anywhere on gmap it will give the longitude and latitude of that point at that time. Then what is the js code for that. If any one knows that then inform me. Thanks.
Well, I just got finished spending a couple hours looking for a solution to an issue concerning the background image. Originally, I was not able to get it even close to the manner I wanted it to work. However I have made it to a decent point. The original idea …
hello everyone!!! i have a problem in keeping the value of my combobox, i have a form with a combobox, what i want is when i select from my combobox, it will retain or keep its text value even if i close the program, the combobox will only change the …
Hi There, For some reason I need my form to be submitted twice (in one go). Is there any way to do that instead of submitting once go back and submit again? My form based on PHP and Javascript... Thanks!
Hello, i struggle to get start time and end time from selected day in fullcalendar...pls let me know..its urgent.. below sample code: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html> <head> <base href="http://arshaw.com/js/fullcalendar/examples/" /> <link rel='stylesheet' type='text/css' href='../fullcalendar.css' /> <script type='text/javascript' src='../jquery/jquery.js'></script> <script type='text/javascript' src='../jquery/jquery-ui-custom.js'></script> <script type='text/javascript' src='../fullcalendar.min.js'></script> <script type='text/javascript'> …
Hi, I am really new to javascript, really starting to learn it now, so be nice. :) am wondering if it's possible to find out if a user clicks the (X) to close the window or browser? and also if it's possible to find out if they navigate away from …
The font size is 28px. How do i change the font size to 12px onfocus? i tried below but it isn't working. [code] <textarea name='content' style='font-size:28px;' id='content' onfocus='font-size:12px;'>test</textarea>[/code]
Hi all, My problem is i've got this form that submits fine but when i try to redirect it i keep getting an error. I want to redirect to another page so the user can't refresh the page and submit the form multiple of times. I've been using 'header' to …
I think I'm almost done with a stupid gag present for my friend. I want his head on top of a random dancing image. My only problem is that I can't get the dancing images positioned correctly bcuz they're all different sizes. In an array, how would I add unique …
The End.