20,316 Topics
Hi to all, I am beginner in the field of php & I have a problem as, I want to show a form , after selection of one of the two radio buttons choices & then click on submit button. Can i use "onclick()" for this ? if Yes, please …
[code=html] <form action="search.php?q=VALUE" type="post" /> <input type="text" id="textbox" name="poster" size="25" /> <input type="submit" class="button" value="Go" /> </form> [/code] I have this form....What I want is for where it says VALUE to change in the forms action to be the same as what is in the textbox. I cant find anything …
I am building an Ajax-application that functions as a 'formserver'. A php-script is generating HTML-code for a form that is packed in XML that is sent to the browser via an XHTML-request. There a Javascript-script makes the HTML-code part of the document tree. I have problems with inputs of the …
Hi I am running an online examination system on intranet where a number of students appear for a test simultaneously. The paper contains only subjective questions and studens are provide a text area to fill in their answers. with each text area there is a "save answer" button which the …
Hi, I have these two files...index.html and handle.php Index.html has a form on it which is sent to handle.php. This file takes the data sent from index.html then processes it and returns some text. What I want to do is 'Ajaxify' this whole process, so to speak. How can I …
Hi, I have a web application in development that takes input from an HTML form and uses servlet technology to process and output another page. Currently, the HTML form is just standard form components (drop down menus, radio buttons...). What I want to implement is an image, where the users …
Hello, I am a JSP newbie. I am trying to encode a password on a login form, before it is sent to the server. I created a test button to display the hashed password, but errors out with the message 'digestPswd not defined' Here are the code snippits that I …
Hello! Im new to PHP and have a need for what I have found out is called AJAX. I prefer to code in PHP for my DB access. I need to create a dropdown list using AJAX that updates it self depending on what is slected in the parent dropdown …
Hi! My name is Chris, I'm new here :D I'm 20, from the UK. I'm interested in web development, and I have a pretty good grip on web design, HTML/XHTML, CSS, PHP, and a not-quite-so-good grip on Javascript (I have also used Mootools and JQuery), MySQL, and Flash Actionscript. I …
How do I animate an image to fade in when I roll my mouse over a <div> and fade out when I move my mouse away. So far this is what I have. It doesn't seem to work well. Please help me, thanks. Javascript [CODE]<script type="text/javascript"> var homebutton = document.homebtn.style.opacity; …
I'm having an issue getting IE 7 to respond to the setAttribute("src", "...") command in javascript. The code does the following: 1) There exists an img id called mainImage in my html. 2) On load the body calls getimagesource 3) The javascript reads a configuration file (test3.txt), that has each …
Hello Again everyone, I have two forms on the same page, i have text input fields and the drop down boxes i created are auto submit boxes i created with javascript. Now the problem is that when form 1 submits itself it resets form 2 and vica verca i am …
Hi, I'm currently [URL="http://www.daniweb.com/code/snippet794.html"]using this fantastic script[/URL] by Fungus1487 (thanks!) but am having a bit of trouble getting it to detect Saturdays. For example, when I enter a start date as a Thursday, then enter an end date that's a Friday it'll return 1, fine. If I enter a date …
Is there a way to change the color of Student Name to red. [code] <script language="JavaScript"> <!-- function delStudent#StudentID#() { if(confirm("Do you really want to delete Student Name?")) {location="index.cfm?act2=5&id=#StudentID#&sec=#sec#";} } // --> </script> [/code]
hi there pals. i am writing some codes for a scaffolding application. consider i want to implement : [IMG]http://ce.sharif.edu/~zamanian/untitled.JPG[/IMG] when user click in Delete Link, DB delete that row and make it disappear from the page with Ajax. i put the whole table on one DIV , and i want …
Hello, I have a script written in C# (.NET) and within this script I have an IF statement and when this IF statement is TRUE I want to execute the following external script that I placed just under the </head>: <script id='name' type='text/javascript' src='https://xx' integration='jscart-wizard'></script> How can I do that? …
the code is given below <script type="text/jscript"> // Check the length of the textbox //for new function Length_Phone1TextField_Validator() { if ((aspnetForm.ctl00_ProfilePlaceHolder_txtPhone1.value.length > 2)) { aspnetForm.ctl00_ProfilePlaceHolder_txtPhone2.focus(); return (false); } return (true); } <script> and in cs file its code like this `this.txtPhone1.Attributes.Add("onKeyup", "return Length_Phone1TextField_Validator()");` Its not working in firefox but in …
Hello! I have just started to write java scripts.when I enter script contents in wordPad and I want to open the Internet Explorer to see the results,this message appears.I want to know how can I solve this problem ?? [I]Massage[/I]:to help protect your security,Internet Explorer has restricted this file from …
[COLOR=#008000]Hi In my application, i would like to use the popup window concept. When the user clciks a button, a popup window should appear, with a textbox to enter a value. on closing the popup window, the user entered value should get saved into a table[/COLOR] [COLOR=#008000][/COLOR] [COLOR=#008000]I am using …
I want to get to the parent location each time I'm adding a record. the problem is that i have a nested iframes, and each time the number of those is incremented: eg. at first adding record i have the location like this: parent.location second: parent.parent.location third: parent.parent.parent.location how could …
Hi, I have used AJAX in my code. On select of 1 dropdown javascript function is called which will led to display of other dropdown. Similarly, 3-4 dropdowns may appear. All will be based on values selected in dropdown. 2nd dropdown appears fine. But after its select javascript func onAccountDivisionsChange() …
Hi, I'm using this function to set "cart behavior" on my drag and drop control: [CODE] $create( Dflying.ShoppingCartBehavior, {"name": "myShoppingCartBehavior"}, null, null, $get( "Box" ) ); [/CODE] The problem is that I want to be able to remove that behavior from my cart, but I simply can't find any information …
Hi dears, I am working on an script for testing students. I have problem in javascript code. I want to open a new window using javascript. the code works fine in Firefox but it gives error in IE. The interesting thing is that it gives error where there is a …
The script belwo works in IE, how do i get it to work in FireFox? [code=JavaScript]<script type="text/javascript" language="JavaScript"> <!-- JavaScript --> <!-- Begin mesg = "Welcome to WhiteCityCavaliers.com New Litter has just arrived....Ready for you after weaning!....More Love than you could expect from a puppy, Cavaliers love to please you...."; …
Hello! I created a simple CMS with PHP/MySQL and would like to make it easy for people to insert some formatting, such as bold, italics, underlined, links, etc., so that they don't have to know html code... What is the best solution to develop something like this? Javascript? Forms are …
Hey guys, I have a TreeView in which i am usign the DoubleClick event handler. The first time i double click on the grid (this happens everytime the grid is repopulated as well) the event does not register. For example if i double click on a checkbox (single click will …
hi, Am developing a web app in php, mysql but using lots of javascript and ajax and css. okay. straight to the code. I am adding dynamic textfields to the document. There are 4 textfields in total. One of them has 'Quantity', the other has "Item Decsription", the next has …
Dev't Tool: Visual C# 2003 and Javascript System Type: Web Application One requirement of the system is to dynamically create a table on client-side (Javascripting using createElement method.) The table has textboxes inside each cell. a few sample code: [code] for (i = 0; i < 4; i ++) // …
i have one text box date of birth and submit button ..if i click that submit button the calender should open ...if we selevt any one of the date on that calender the date should display in dataof birth text box.. can anyone tell me the javascript code for this …
I am trying to build or recreate the MattBerseth.WebControls.AJAX ModalPopupAnimationExtender and I keep getting this javascript error "AjaxControlToolkit.Animation.GenericAnimationBehavior is null or is not a object" I have tried searching on google but I really can't find anything that fixes the probelm. Does anyone have any suggestions?
I want to create a user feedback form something like this: When a user clicks on a link like: Send Feedback The box size 200 X 200 would open right under it where users can provide feedback and in that box when one clicks submit the same box displays like …
Please somebody help me! I`m a beginner and want to learn web designing. I want to khow taht is there any diffrences between Java & JavaScript if yes which one of them is better for me I have learned just C programming language.
I have a modal popup extender which works fine but I was trying to put an animation to it for my site. I found this animaiton extender that works thru this one site but I tried to rebuild it in my site but I can't get it to work. First …
i have crated web page usng netbeans .. in my php code i have fetch the data in array now i want that data to be pass that data in js file which in that project please help me...
hello guys, is there any one good enough to tell me how to show random pics in a frame each time my home page is loaded. i would appreciate if you tell me how to do it either in javascript or php. thanks a million times
Hi, i have an application inaction script & java script .I m calling a javascript function by actionscript Fscommand but it gives error as "Object Required" can anyone solve this error.... i have paste code below of javascript.... [code] <html> <head> <title>save</title> <script language="javascript">AC_FL_RunContent = 0;</script> <script src="AC_RunActiveContent.js" language="javascript"></script> <script …
I have set up an admin area for users to sort thumbnail photos, which is within an accordion widget and works well. However, I would like to add the ability for them to drag any photo they want to delete to a trash bin image. This would delete the photo …
Does anyone know how to add more measurements to this code without continuing to measure the same distance which is what it does. I want to measure the distance between 2 points, then measure the distance between another 2 points keeping each measurement stored as a variable. geocodecalc.js [CODE]/* ******************************************************** …
The code below I have a problem... When you hit enter on a text field firefox stays at the same page because I have returned false; (I assume) but IE still submits the form normally. What am I doing wrong? [CODE=javascript] window.onload = function() { var form = document.getElementById('keyword'); var …
Hello, I m Ruchi.I want open save as window for user to save text file through java script & i have used javascript Execcommand however it only works in IE not in Mozilla ,Firfox etc........... Please help me Thanks & Regards Ruchi
Hi there, Hoping you can help. The page in question is online at... 'www.christophercrawford.110mb.com/purchase.html' and can also be posted if required. It can also be accessed by going to 'www.christophercrawford.110mb.com' then selecting the 'Contact' page and pressing the 'Order Now' button in the top left corner in the left nav …
Hi, I am Chris Crawford, 39 (eeek!) and a mature student studying multimedia computing and web development at Central College Glasgow currently at HND level and perhaps going on to Uni in the autumn. I am retraining after being made redundant after a life as a printer/publisher for about 20 …
I assume the drowpdown/layer menu is javascript simply because it has to wait until the entire page is loaded so that I can see the sub-options... I really wouldn't want it to be redone but sometimes at work I have slow internet and loading the page just pisses me off …
Hi, I would like to show a tooltip when the user move the mouse over the first column of my gridview. The tooltip should be bound to a field of the gridview's datasource that correspond to the row being hovered. How can I do that ? Thanks, Raj
I have created popup but I have problem with it. It flaps. What is problem, can somebody comment it. Thanks in advance. --------------------- [code=HTML]<head> <title>My Popup</title> <style type="text/css"> #popupcontent { } .InfoPopup { position: absolute; visibility: hidden; overflow: hidden; border: 1px solid #CCC; background-color: #F9F9F9; border: 1px solid #333; padding: …
I am calling the below function on the click of an 'OK' button to set the attribute of a cell of a table (attributes for <td> tag), however i am not able to set the 'style' attribute of the <td> tag with the code below. Please help me in achieving …
I am trying to send a request to a server and expecting to get back XML script. Will it be saved in response text only ? if yes its somehow not working [code] <html> <head> </head> <body> <script type = "text/javascript"> var name=""; function note() { name=first.query.value; } document.write(name); function …
Hi I'm a bit of a noob when it comes to Javascript, hoping one of you might have any idea what's going on here. I'm changing an image directory for a site I'm working on from top level to /images folder. Even though I'm changing the part of the code …
Hello, I am wondering how can I install and use geolocation api by Google so that I can use it in my website. I have spent 2 hours for this searching on google, yahoo, mamma, ask but not found a solution so please help because I am ready to throw …
[CODE] <script type="text/javascript"> function resetLists(){ document.forms["body"].elements["select1"].selectedIndex = 1; document.forms["body"].elements["select2"].selectedIndex = 1; } </script> </head> <!--Start the html body--> <body id="body" onload="isColorSet()"> <form action="" onsubmit="return false;"> <form id="body"> <!--This is where the changes happen--> <div id="test">This is supposed to be a nice little navbar. Select a new font to change this …
The End.