20,316 Topics
Hello, I am trying to design a page which has a textarea and a button that says "say something", assume the page is "test.jsp". If a user hit that "say something" button, browser redirects to another page where user can enter anything they want, assume the page is "test1.jsp" . …
Hello, I am using a Jtable in my application.I am entering values in last column of that table.Below the table, i have a Jbutton named as 'Save'.Suppose while clicking on 'Save', the entire row remains selected except the last cell in which I have entered the value.Then if I retrieve …
Hi, I need to get a table in javascript n i wrote this code: [CODE] //mainMenu is the table name var x = document.getElementById("mainMenu") //then i need to get it's left margin so i wrote var x = document.getElementById("mainMenu").style.marginLeft; [/CODE] But it is giving error that x is null. Can …
Can any one please give some links about Form Validation through java script. Or if any one can assign me some assignment related to JSP,thn please reply this post. I need to know that practically how and where JSP is used except form validation. Thanks for your time. Regards,
Hello I want that on the page visible to user, there is a text box, User can specify full path to an image in this text box, and once user clicks on apply button. then this image is set as the background image for a div How should this be …
Hi all, Please take a look on this page [URL="http://www.vistaprint.com/vp/ns/studio3.aspx?pf_id=088&combo=31679.96.32.93307|93307|137|0&uei=94406&icparts=yes&ag=true&combo_id=82920&ssc=1&filter=9%3a10013||1%2c4%3a10003||1%2c3%3a10001||1&xnav=previews&rd=3&referer=http%3a%2f%2fwww.vistaprint.com%2fpremium-business-cards%2fgallery.aspx%3fpg%3d1%26rd%3d2"]http://www.vistaprint.com/vp/ns/studio3.aspx?pf_id=088&combo=31679.96.32.93307|93307|137|0&uei=94406&icparts=yes&ag=true&combo_id=82920&ssc=1&filter=9%3a10013||1%2c4%3a10003||1%2c3%3a10001||1&xnav=previews&rd=3&referer=http%3a%2f%2fwww.vistaprint.com%2fpremium-business-cards%2fgallery.aspx%3fpg%3d1%26rd%3d2[/URL] and this [URL="http://www.vistaprint.com/vp/ns/studio3.aspx?pf_id=088&combo=911.122.5.4421|4421|137|0&uei=5316&icparts=yes&ag=true&combo_id=4164&ssc=1&filter=9%3a10013||1%2c4%3a10003||1%2c3%3a10001||1&xnav=previews&rd=3&referer=http%3a%2f%2fwww.vistaprint.com%2fpremium-business-cards%2fgallery.aspx%3fpg%3d1%26rd%3d2"]http://www.vistaprint.com/vp/ns/studio3.aspx?pf_id=088&combo=911.122.5.4421|4421|137|0&uei=5316&icparts=yes&ag=true&combo_id=4164&ssc=1&filter=9%3a10013||1%2c4%3a10003||1%2c3%3a10001||1&xnav=previews&rd=3&referer=http%3a%2f%2fwww.vistaprint.com%2fpremium-business-cards%2fgallery.aspx%3fpg%3d1%26rd%3d2[/URL] They are basically 2 templates for Business Card printing. Notice that the text fields will be updated to the Image on the right dynamically with different style and position from one template to another. Does anyone has …
Hi, I am Abhilash a web developer from bangalore. Currently for my work I am exploring formbuilder kind of stuff, which will enable the end user to create a form, save it, and use it any of the web page.I am following the Microsoft.Web.Preview.dll and Ajax Script manager to implement …
Good evening, all! I'm trying to display multiple checkbox values in a summary screen of sorts. The website is about movies, and if somebody checks that they like more than one movie type, I would like all of their choices shown. I currently get "Your favorite movie type is: Array" …
Where the document is OBJECT or CLASS ?......................
Hello! I'm just learning JavaScript and I was wondering if clients can view external JavaScript files? I would like to (potentially) use JavaScript to validate passwords to log into my site. Would this work/ is there a better way?
Hi, I have this form: [url]http://www.donorsforum.ro/forma_din_anunturi_ro.php[/url]. In the span field that looks like a textarea (Corp anunt) I can write in both IE and Firefox, but I can paste some text only in IE, in Firefox the box is just multiplying and remains empty. How can I fix this? I …
I have this code, I know it has ASP in it but the ASP isnt giving me the hard time, the javascript is (I think...). Right now users can use this drop down menu to get to a certain page, but instead i need to have them type in a …
Hi, I have this website which uses javascript to compute some mathematics... However, the script appear not to be working on firefox whereas the I.E and safari are working well, can someone help me with this, does Firefox have problems executing javascript? Thanks... the below code is where the problem …
I have a site under development that's going to use a JS-based drop down menu which will open when the visitor hovers over a single element called "menu" at the top of each page. Naturally the folks who have JS disabled are not going to be able to use this …
hi i wanna create a web page in such a way that, if a user gives a data in a text field,And click the submit button, it should automatically store in a drop down menu options... pls help me in devloping the code for this..... Thanks Nawab
Hi, I have got an arraylist with Profile objects where each profile object has a HashSet of Customers and each Customer in Hashset has further a HashSEt of movies. I have got it in JSP page through servlet like [code]<% ArrayList profiles = (ArrayList)request.getAttribute("profiles"); %>[/code] now i want to access …
I am trying to insert numbers from a form into two different URLs, and then launch both with a single click. My problem is getting the numbers to insert correctly. Below is what I have attempted. [COLOR="Red"]+'document.myurl.book.value'[/COLOR] Can anyone help me with this? [url]http://www.biblegateway.com/passage/?book_id=[/url][COLOR="Red"]2[/COLOR]&chapter=[COLOR="Green"]7[/COLOR]&version=9 _____________________________________________________ [code]<form name="myurl"> <input type="text" name="[COLOR="Red"]book[/COLOR]" …
Hi everyone, I have three drop down menu naming client,project and activity. But I want that when i select item in first drop down menu clent then only that project should come whichever comes under that client category and after selecting client and project , i want there should be …
Hi, When the mouse is over the small image in a table cell, the large image appears in other cell. Code below works fine in IE but not in other browsers. How can solve this issue? Thanks [code] <html> <head> <script language="javascript"> function changeBgImage(whichCell) { if (whichCell=="small_1") { document.getElementById("large").background="1l.gif"; } …
[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" …
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 …
hi......... help me plss to write coding to open a new pop up window while clicking on specific points on a map... regards enet
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 …
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 …
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
Hi, I want to do like 1> drop down menu for language selection 2> If select language convert whole page text to that language selected language. So how to add or use translator( converter ) how to use google translator?? How to do that??
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 …
[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 …
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 …
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 …
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 …
I have tried: [CODE]$urlres = preg_match_all('#<img[^>]*?>#si', $site, $matches); $checkhttp = preg_match('#src="http#si', $matches[0][$i], $checked); if ($urlres = true) {for($i = 0, $size = sizeof($matches[0]); $i < $size; ++$i) { if ($checkhttp != true): $pattern = '#src="http:#'; $replacement = 'src="'; $replacement .= $link2; $string = $matches[0][$i]; $result = preg_replace($pattern, $replacement, $string); echo …
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 …
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 …
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
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 …
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 …
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 ? …
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): …
I need a flash video player with a Javascript API with a seek function. And I need to be able to seek in this video by second or, better, by frames and not by keyframes like all flash video player like JW or Flow. My video are encoding in 10s …
hi guys. i have a forum running jelsoft vbulletin. i recently upgraded from invision power board. anyway - in invision, i wrote an ajax search using javascript framework and ipSDK. does anyone know if there is any way of searching vBulletin from the vBulletin API? i can query the database …
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 …
hello..can u give me some code using javanesbeans for solving my graphically representation of star..
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 …
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 …
I'm trying to retrieve the last modified information of a webpage? I don't even know if php would do it or would javascript be better better for this. I've tried document.lastmodified with java script but that does not help much. I've noticed that in firefox ->tools->page info gives me the …
Hi , to all I want your help :- How i can open a new file (may be called as "form1.php" ) on my current page , only by onclick of radio buttons without using submit button ? any suggessions will be appreciated. Thanks & Regards.
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 …
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
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 …
The End.