15,699 Topics

Member Avatar for
Member Avatar for nawabsheriff

[code=html]<html> <head> <script type="text/javascript"> function validate_required(field,alerttxt) { with (field) { if (value==null||value=="") {alert(alerttxt);return false;} else {return true} } }function validate_form(thisform) { with (thisform) { if (validate_required(email,"Email must be filled out!")==false) { email.focus(); return false; if (validate_required(city,"city fill it")==false) { city.focus(); return false; } } } } </script> </head><body> <form action="9.php" …

Member Avatar for aravelli
0
92
Member Avatar for millsy007

I have the code to show predictive text when a user enters a value, However I am struggling to change its behaviour. Currently it shows the suggestions seperately, I would like to alter it so its shows the value in the search box and then the user can select a …

Member Avatar for DangerDev
0
95
Member Avatar for gagan22

Hi everyone, I have written some code in which i am taking some input like this date from and date to field. But this calender is open into IE and i am unable to open it in Firefox. I am using code like this------------- [code=html]<tr id="companyname"> <td style="display: none;"></td> <td …

0
53
Member Avatar for eo868745

Hello, I'm having a bit of trouble here. I want to have two input boxes for entering numbers, a select box, and a button - "Compute". The select box contains options for "add", "subtract", "multiply" and "divide". When the "Compute" button is pressed, I want it to compute the arithmetic …

Member Avatar for ~s.o.s~
0
272
Member Avatar for rajeesh_rsn

Hi i had a big image in my web page. I need to do a preload in that image. Actually I am new to javascript. I tried many scripts but didnt work.. Please guide me ... Thanks Rajeesh

Member Avatar for almostbob
0
90
Member Avatar for visionsshift

time is of the essance, and i've been searching all day for a way to make a roll over button drop down menu. i'm using a table (for now), as my hunt for decent roll over button codes kept coming up with software marketing sites, or complicated script. i came …

Member Avatar for almostbob
0
147
Member Avatar for esedic

[B]Hi! I'm a complete newbie and I need some help. I have this piece of code which is opening link in new window: [CODE]<script type="text/javascript">//<![CDATA[ document.write('<a href="javascript:void window.open('<?php echo $product_flypage ?>');">'); document.write( '<?php echo ps_product::image_tag( $product_thumb_image, 'class="browseProductImage" target="_self" border="0" title="'.$product_name.'" alt="'.$product_name .'"' ) ?></a>' ); //]]> </script>[/CODE] How to change …

Member Avatar for phper
0
103
Member Avatar for windsdon

I am working on a java project and I need to add cookie in the browser to register a record of points of the person and turns it into a variable "a". I have everything working ... just missing it! the project is a play test of reflex and just …

Member Avatar for essential
0
80
Member Avatar for ypdev

Hi, I am trying to validate RadioButtonList (ASP.NET) using the following js function but for some reason it does not working properly. I can't get the ID of the control as I would be.. Can you help please? [CODE] <asp:RadioButtonList ID="T_selector" runat="server"> <asp:ListItem Value="1">Team1</asp:ListItem> <asp:ListItem Value="2">Team2</asp:ListItem> </asp:RadioButtonList> [/CODE] [CODE] <script …

Member Avatar for ypdev
-1
254
Member Avatar for Jake12

Sorry for the weird title, not sure how to describe it in one sentence. What I am trying to do is build a script that will read through an array of words and compare another word to the list to find where it would be placed alphabetically; between which two …

Member Avatar for Jake12
0
98
Member Avatar for jazz2k8

Hi Folks, i have created one list of years and months .. inserting that into the database...if i want to edit ...it is selecting the check box but problem is i have to scroll down forwhere it is selected...wherei want to autoscroll for that. please find the attachment... thanks in …

Member Avatar for ~s.o.s~
0
26
Member Avatar for sureronald

I am working on a web application and I would like to combine java script and php. I am using the window.confirm() function which gives a user an option to choose either yes or no. I am actually using this feature to end a users session so if user clicks …

Member Avatar for diafol
0
99
Member Avatar for Tom Tolleson

Hi! Would it be possible to have a JavaScript graphic in a web browser react to sounds from the users computer microphone? Thanks! Tom Tolleson

0
88
Member Avatar for kcgagne

Looking at [url]http://yellowspringsfarm.com/events-schedule.html[/url], in IE 7, if you run your cursor over the nav panel to open and close links, the text line height in the main content does a little dance. This does not happen if FireFox. I have no idea what I screwed up or where to look …

0
71
Member Avatar for gagan22

Hello everyone, I want to use two radio button on a html page (buy.html) . I want that when we click on first radio button then it will show one form which have two or three text box on that page (buy.html) . When we click on second radio button …

Member Avatar for mschroeder
0
140
Member Avatar for Bob Arctor

Hello all, If I use a "typical" href - No problems I see the session value being passed to the page (populating a form field). Using the pop up link not surprisingly nothing gets passed. My lack of experience is letting me down here. Any solutions or an alternative ? …

Member Avatar for Bob Arctor
0
458
Member Avatar for neoseeker191

I was wondering if someone could tell me if it is possible to take the navbar I made for the website, [URL="http://www.rcamodels.com"]Website[/URL] which was created using Dreamweaver and Fireworks, and convert it to CSS. What I am trying to do is convert the site to mainly CSS. I'm not looking …

Member Avatar for ccube921
0
121
Member Avatar for theimben

I need to use ajax to make this whole process smoother. Here is a demo: http://www.theflickzone.com/dev/ If anyone can do this for me I will pay a few $ via paypal to say thanks :) Contents of index.html <form action="return.php" method="POST"> <p>IMDB URL: <input type="text" name="imdb" autocomplete="off"></p> <p>Links(line by line): …

Member Avatar for theimben
0
120
Member Avatar for xerouk

guys i really need your help. im not sure how to even explain this so here goes. i want to create a page where u enter a text and then u click a 'convert' button and the text is inserted to a larger text for example lets say u enter …

Member Avatar for essential
0
129
Member Avatar for gagan22

Hi everyone, I want to use two radio button on a php page when we click on first radio button page will show different form below the radio button and when we will click or select second radio button then i want to show another form on the same php …

Member Avatar for diafol
0
143
Member Avatar for TheVenerableZ

Hi, Is it possible to use GetElementsByTagName for grandchild elements? I have a div with a bunch of lis nested inside of the div, and a hidden input field inside of each li. The lis are draggable, and I want to write a script that adds up the values inside …

Member Avatar for azraelcwb
0
202
Member Avatar for ionnnnutz

i have an "product customization form", made with javascript wich sends the user selected values through email. [CODE] <select name="material" id="material" onchange="selection_material()"> <option >Select...</option> <option value="1">Paper 115g</option> <option value="2">Paper 135g</option> <option value="3">Paper 150g</option> <option value="4">Paper 170g</option> <option value="5">Cardboard 200g</option> <option value="6">Cardboard 250g</option> <option value="7">Cardboard 120g striat</option> </select> [/CODE] [CODE] function …

Member Avatar for essential
0
98
Member Avatar for Seb_london

Hi, Is there any way to end a line of text with three dot if this one is too long for the content box/site layout? Someting like wrap text but without going to the next line. Thanks for your help

Member Avatar for serkan sendur
0
103
Member Avatar for todo

I am using Javascript to highlight/dim active/inactive tabs respectivly. Tab 1 is active by default, and when the other tab gets clicked, tab1 should remove "active" class from itself, and the clicked tab should add "active" class to itself... It seems like the class is not being removed properly, because …

Member Avatar for essential
0
2K
Member Avatar for theimben

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

Member Avatar for essential
0
193
Member Avatar for stefan_nieuwinc

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 …

0
46
Member Avatar for poddarpallavi22

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 …

Member Avatar for Luckychap
0
183
Member Avatar for theimben

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 …

Member Avatar for Luckychap
0
91
Member Avatar for shortbus785

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 …

0
40
Member Avatar for Roger L

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 …

Member Avatar for Roger L
0
172
Member Avatar for LTT

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 …

Member Avatar for jshpro2
0
458
Member Avatar for Agent Cosmic

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

0
87
Member Avatar for rpk5000

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 …

Member Avatar for rpk5000
0
398
Member Avatar for blizeH

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 …

Member Avatar for essential
0
120
Member Avatar for danarashad

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]

Member Avatar for Luckychap
0
122
Member Avatar for mzd12111

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 …

Member Avatar for Luckychap
0
123
Member Avatar for PriyaFingent

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 …

Member Avatar for cguan_77
0
74
Member Avatar for zanzo

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 …

Member Avatar for gurshan
0
135
Member Avatar for navin agarwal

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

0
45
Member Avatar for muek

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 …

Member Avatar for DangerDev
0
87
Member Avatar for perochak

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 …

Member Avatar for The Dude
0
111
Member Avatar for joseywhales

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

Member Avatar for essential
0
160
Member Avatar for realnsleo

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 …

Member Avatar for cubekid
0
100
Member Avatar for cubekid

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 ++) // …

Member Avatar for ~s.o.s~
0
307
Member Avatar for sivak

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 …

Member Avatar for cubekid
0
78
Member Avatar for nhauck

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?

0
64
Member Avatar for desiguru

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 …

Member Avatar for samarudge
0
86
Member Avatar for |\|asrin

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.

Member Avatar for |\|asrin
0
156
Member Avatar for nhauck

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 …

0
55
Member Avatar for mehdighobakhloo

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

Member Avatar for mehdighobakhloo
0
85

The End.