20,316 Topics
i created a dropdown list containing university names e.g. 'oxford' 'cambridge' and so on. I would like the uni selected from the dropdown list to be sent to another page as the heading. I am having trouble doing this myself and I dont want to create a page for every …
I have seen in many applications where user is restricted to choose particular option only when user is trying to upload something..!! For example if user is uploading image..he only see 2 options JPG and GIF format in file type option of Browser Window..!! How can i do the same …
hi all i have two columns table and this table is dynamic when clicked add button it automatically adds rows i would like to sum values separetly for ex: when i clicked sum-column1 button let it sums only column1 or when i clicked sum-column2 button let it sums only column2 …
I have a text box in a form that is validated to accept a value called ds01 but i also want the textbox to be allowed to accept empty spaces that is if nothing is entered in the textbox. The problem is that it does not accept anything other than …
i am trying to help a friend on a program on client side scripting using javascript. i have the following code but i am not getting the output desired. [code] <html> <head> <Script language="JavaScript"> var usernameVal; if(document.f1.usernameVal.value.length<3) { alert("username is invalid") return false; } else { alert("acceptable") } </script> </head> …
Hello :confused: I just started a programming class and stuck in a section of my assigment. i would like to know if someone could guide me to the right direction. Last instruction: " Write a script that reads an integer and determines and output XHTML text that displays whether it …
hi I have just took from internet dinamic table. this table is dynamic and its rows dynamically can be increased. but i would like how create SUM function that automatically sums each added row value (text value) here is the code if possible please help me Thanks beforehand [code=html]<html xmlns="http://www.w3.org/1999/xhtml" …
Hi All, i am developing in which user can search by various features. i have given a list of feature using checkboxes like. [CODE]<input type="checkbox" name="feature" value="Air Conditioning" />Air Conditioning <input type="checkbox" name="feature" value="CD Player" />CD Player <input type="checkbox" name="feature" value="Rumpus Room" />Rumpus Room[/CODE] i am using post method in …
make a window pop up with a different web site, while the splash page redirects to the normal page so basicly i am trying to make it go from 1.Splash page and make it go to 1a.Main Page 2a.Forums i am trying to help my buddy out with his gaming …
Hi! all, I want difference between two date which results into HH:MM:SS. date format: MM/DD/YYYY HH:MM:SS suppose there are two date 09/14/2009 13:00:00, 09/18/2009 13:00:00 the difference between the above will return not 4 days rather difference in 96:00:00 . thanks in advance Regards, Manoj
Can any body show me how to scroll image on to a perticular location in document,when i click on the button which is provided right or left to the image.. In the below image when i click on button another image should come in the place of that image by …
ok so i looked a little and came up with a bunch or crap. so was wondering how i might beable to make a special area where people can start with a blank canvas and then import a picture already on the server to the canvas. then rotate, position it, …
hi i am new to java programming and im working on a looping program involving the fibonacci numbers. what i would like to do is to have a program that asks the user how many values of the Fibonacci sequence to output. Then i want to create a loop that …
Hi I have a few javascript calls that hide/show divs over a flash movie and even a css/jquery drop down nav that overlaps over the flash movie. IE6, IE7, IE8, FF2 pc, FF3 pc, and even FF mac are fine, however with Safari the cursor remains an arrow even when …
Hi need help the search information has to be in Snippet in the UI when clicked the whole table has to come up, untill then what user experience is snippet Any javascript codefor this? [CODE] </table> <p> </p> <table bgcolor="#CB344F" cellpadding="0" cellspacing="0" align="left"> <tr> <td align="left"> <p>Search Information</p><br/> <form action="pst.php" method="GET"> …
New to javascript please help me create a link after we click on submit button What is happening is when we click on submit button, it directly does the action on query to google But instead need this to create a link I mean when we hit search the javascript …
please help me to convert php multi dimension array to JavaScript multi dimension array[code]Array ( [nonveg] => Array ( [0] => mutton [1] => Chicken ) [veg] => Array ( [2] => sambar [3] => rasam ) ) [/code]this is my array value i pass it to JavaScript function i …
Hi, all I am completely new to webprogramming and I am trying to make a table with expand and collapse feature. When clicking on each row from table, the row should expand and display other information below. I already got partially working, but this only works for the only the …
Hi , i have one issue in javascript image changing functionality,when the user clicks the next button the image changed to show another one image and same as rewind process also.when the person clicks the previous image can be showed. they are working fine. but my problem is, i have …
Does someone have or can they direct me to a javascript which will display an alert message when a date is not entered correctly. MM/DD/YYYY. I do not need an alert message if they clear the field - validate only if there are characters in the field. After is there …
How do i make validation. To check if the eg textbox is type with certain character like we want this text box to have at least 7 character. and then when we click button OK[save button as usual] it will not save and it validates at the side with * …
Hi... Can anyone pls tell me how shall i be able to drag and drop a dynamic control(say textbox) in asp.net using ajax(with mouse pointer).It would be great if anyone can show a sample code,inclusive of html and javascript coding(I am new to asp.net and do not know much bout …
I have been searching for days looking for a good way to solve my code problem. I have a PHP page that is dynamically creating a form with textboxes and checkboxes. The textbox has a quantity to order of an item and the checkbox is add item to order. The …
Is there way to clear programmatically(c#, javascrip...) "Download history"? The same box with "Downloads" in the header, that appears every time you download any file. How I can do, so when user open my page and download the file he won't see this "Downloads" box OR it will be empty?
I have a javascript function for calculating sum of values in row and colom of a table. It is using get element by id table name. So is table specific. I am calling that function every time a value changes in the table by [CODE]<td><input type="text" value="0" size = "2" …
Hi all, here' the code [CODE] $(document).ready(function(){ $("ul li ul").hide(); $("li:has(ul)").click(function(){ $this = $(this); if ($this.siblings().find('ul:visible').size()!=0) { $this.siblings().find('ul:visible').slideUp(1000, function(){ $this.find('ul:hidden').slideDown(500); }); } else { $this.find('ul:hidden').slideDown(500); } }); $("li:has(ul:hidden)").mousedown(function(){ $(this).css("background-color","#869094"); }).mouseup(function(){ $(this).css("background-color","#7793ae"); }); $("li > ul > li").mousedown(function(){ $(this).css("background-color","#a5ccef"); }).mouseup(function(){ $(this).css("background-color","#d9ebf1"); }); }); [/CODE] The problem is the li:has(ul:hidden) part - …
Hi all, Now i dont remember what we say about this method, i am so sorry for that anyway... I want to write in textbox when i am writing on it, it shows similar info to me. For example if i write dan it must be show daniweb, dance, danny, …
Hi, I have a sidebar application, I am using an IM functionality inside this sidebar. When a user is logging in, the connection with chat server will generate on this sidebar.The sidebar itself acts as a parent window. When a user click on the IM icon inside the sidebar, a …
hi I was wondering if any one could help me create this "tool" I want a table, with two colums, one for topics, and the other one for explanations hide the explanations and when user clicks on 'topic 2' show 'explanation 2' when user clicks on 'topic 3' hide explanation …
Hello everyone, I'm learning JavaScript programming and I have a test to do. Will it be possible for someone to check what I've already written and let me know if I'm on the right track? In green are the questions asked and in red are my answers. I also put …
I'm using jQuery Cycle plugin for a slideshow of images and also potentially swf files. I've written a script to pull images and movies out of the page content (which is part of a CMS - so i never know what image/swf content will be there, the slideshow has to …
Here's a script I worked up to convert binary code into ASCII. Didn't work out an ASCII to binary conversion yet.
I need a java script code tat changes the mouse pointer to an image of my choice when a button or an image is clicked .. Please help me out regards jai..
Hi folks, I wanted to get the value of the clicked A href links, somebody please help.... i have something like this, [CODE] <a href="javascript: void(0)" onClick=window.open('<?php echo $rows['file_name']?>','welcome') style="border:0 ">View</a> [/CODE] So i want to get the value if user clicks the href button. so please anybody...
I have a table displaying some leave information about staff. In the table, the value for "from" date, "to" date and leave entitlement for staff is retrieved from the database and are allowed for update. I'm using onChange function to keep the table updated wherever there is any of the …
I written a code to create a image viewer using javascript. But the script only works in IE but not in firefox. Please help. The code is below...... [CODE] <script type="text/javascript"> function changeImage(filename) { mainimage.src = filename; } </script> <center> <img src="images/bg.jpg" name="mainimage" width="419" height="282"> <marquee width="90%" scrollamount="5" onmouseover="this.stop();" onmouseout="this.start();"> …
I am very interested in developing RIAs. So I just wanted to know you opinions of each of them. I have a good foundation of XHTML and CSS, so is AJAX better? -How compatible are they? -How well do they handle images and animations? -How flexible and versatile are they? …
New to javascript please help me create a link after we click on submit button What is happening is when we click on submit button, it directly does the action on query to google But instead need this to create a link I mean when we hit search the javascript …
Overview this is a fast way to delete Records from your mysql datebase without loading the page . this jquery code can Delete a Record with animation fade-out effect using jQuery and Ajax. <FAKE SIGNATURE>
I have both firebug and venkman debuggers installed. Both seem to function yet neither works. I use firefox3.5.3., windows xp. Any suggestion?? Thanks
Say if I buy a software like Esperient Creator 3.5, which is an application used to create interactive 3D graphics. Can I convert it into a web based application so that I let multiple clients access the software online? How to convert such an application to a web based application? …
[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> </head> <body> <?php echo $arr = explode(',',$_POST['technology_id']); foreach ($arr as $key => $value) { echo $value; echo '<br>'; } ?> <script> function select_tech() { var frm = document.frm; var id = ''; …
I have a question I am have been googling all day with no examples I can use and need to come up with something. I want to have a Javascript session timeout which does it's own internal countdown ie: 5 mins left before your session expires etc I then would …
i tried this but the background of the textarea turns white and not to image.. [code] <script language="javascript" type="text/javascript"> function ChgText(number) { var newtext = document.getElementById(number).innerHTML document.getElementById('reply').style.backgroundImage = "url(newtext)"; } </script>[/code] [B] var newtext = document.getElementById(number).innerHTML [/B] this is the hyperlink of the image [B]'reply'[/B] is the value of the …
Hi Folks Can I do the following please: In have a form for entering payments of invoices. If they pay the whole ammount that is ok BUT if they only pay a part payment i wanna do the following. On the form i have radion buttons (partpay yes & no) …
When I execute my functions the first one works fine and the second is called because I get my alert box but the second function does not execute. Any ideas why? Any input is appreciated. function changeFont() { <!--alert("changeFont function");--> document.getElementById("q4").style.fontStyle ="italic"; } function changeFontBack() { alert("changeFontBack function"); document.getElementById("q4").style.fontStyle="normal"; } …
Hello, I thought the programming gurus in this forum could lend me a hand understanding recursion in Javascript. I'm following an online Javascript tutorial ("Eloquent Javascript", I recommend it to anyone) and chapter 3 shows this function: [CODE]function power(base, exponent) { if (exponent == 0) return 1; else return base …
Hi I was just wondering if anyone knew how to deal with the window.open js function when you want to echo it. Can somebody tell me how to fix the syntax error the below. [CODE] onClick="window.open('viewhotel.php?id='$row['id']','mywindow','width=400,height=200')">' [/CODE] Any suggestions would be great!
hi . im trying to figure out what the best possible way would be for me to zoom into a selected img/div. i have multiple divs with images in them and when a user clicks on one of them i would want the selected image to fill the whole screen. …
The End.