20,316 Topics
Hey all, I'm having to write a program that generates a random number between 1-1000 and then allows the user to make guesses in a text box, answering to high or to low, until the correct answer is entered. I had the program working fine with using strictly prompts and …
Hi,I wrote a piece of code that admin can add publications with their date and users and admin can view all the publications in the same page sorted by time.till here it was ok,the problem started when i wanted to add a jump menu on top of the page so …
In my current project we need to provide drag&drop functionality of items from left to right and vice-versa and on click of the button send array of item IDs to server. Main problem was that we couldn't get array across to server and online examples that we found did not …
Hi all.I have been using a certain javascript code to display a "Please wait..." message on screen but it seems to work in some instances and not in others.Please assist me with javascript code that works in all instances Below is the code I currently use. In the head tags …
I need to validate three image fields with javascript so the user cant upload anything else expect files with image extensions. A i also need to control the size of the image, for example to restrict user uploading files with greater size than 1MB. Does this thing can be done? …
JAVA SCRIPT CODE [CODE] function NumbrOnly() { if(event.KeyCode==45 || event.KeyCode==46 || event.KeyCode==48 || event.KeyCode==49 || event.KeyCode==50 || event.KeyCode==51 || event.KeyCode==52 || event.KeyCode==53 || event.KeyCode==54 || event.KeyCode==55 || event.KeyCode==56 || event.KeyCode==57) { event.retunValue=false; } <asp:TextBox ID="TextBox3" onkeypress="NumberOnly('TextBox3')" runat="server"></asp:TextBox> [/CODE] WHAT IAM MISSIGN AND WHEN I WRITE event. then after 'dot' it …
i would like to ask if there is a way to change on a drag and drop jquery i use the image src from the li div that i drag it on the ul div that i drop it... with a jquery i found something like this [CODE]$('#dropContainer').droppable({ drop: function(e,ui) …
Thanks for your help in advance. I have my draggable using JQuery and it woks great. The problem now that I am having is that when I put in a Java Script Applet/Widget I have to put this in the code: <script type="text/javascript">some widget code information</script> So my code looks …
Hey guys, I have a drop-down box which lists manufacturers of computer products. I want it so that when a user clicks "Other" from the drop-down box, a new input field appears below it which asks them to specify an alternative manufacturer. [CODE]<select name="cat" id="cat" onchange="setCategories();"> <option value="components">Components</option> <option value="pcs">Desktop …
how do we use javascript to make the amount entered in a text box not greater than 1000?
Hello all, I'm hoping to get at least a pointer in the right direction here. Long story short, I've got a DB that I'm displaying information from. I'm doing so using a GridView under a TabContainer / UpdatePanel. Everything works fine, except one weird point - if you click on …
Hi, I am writing a code for a restaurants online order service so that products can be delivered to customers. I have completed the code but the owner has said that they have recieved bogus orders and i have decided that a validation on the order form is needed for: …
Hi, I am currently helping to create a script for a restaurant's online delivery service. The restaurant has a minimum order of £10 and i want to incorporate this into the script e.g. a customer's order comes up at £8 and clicks submit, a message box displays "Minimum order is …
Anyone know how do I use javascript to limit the numeric amount enetered in a text box less than 1000?
Hi all, I want to print a page from another page. I have a master page with links to other page. When I click "print," it should print the another page. The function window.print() is printing only the active page. So on click print i am opening a new window. …
I'm trying to validate my xhtml page using the w3c validator, but there is 1 error: Line 103, Column 15: there is no attribute "name" <form name="checkForm" action="http://tl28serv.uws.edu.au/twainfo/form.asp" … You have used the attribute named above in your document, but the document type you are using does not support that …
Hi Guys I'm New to web development. i need one help. I'm having list box on my form, in form load event i will bind the list box with database value. user should be able to select only 5 items from the list box and also i want to validate …
Hy again! =) Here's my problem. My AJAX doesn't want to work, and Firebug gives me this error message: "uncaught exception: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIXMLHttpRequest.setRequestHeader]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: [url]http://localhost/mysite/js/functions.js[/url] :: callSaveFile :: line 273" data: no]". So as u see I'm using …
Hello, I have been searching for a solution on how to solve this problem for almost a month now. I'm at a point where I feel like I've traveled around the world 7 times and still haven't found the answer. I hate introductions so I'm just going to go ahead …
I am writing here, asking you for a little help. I have assignment in Java for my class in programming. I should create Java Applet and make animation. The animation should consist of several bouncing figures (balls, triangles, squares etc.) and when clicking on them different events should happen. One …
Hi, I want to send three text box values to server using jquery ajax. problem is that, i dont know the exact syntax to send three data. When i try sending one data(also change no.of parameters to one at server side method), its going good but when i try to …
how do we use javascript to only allow selection from the list in question 3 to be made IF the user selected at least 1 check box in question 2? below is my code: [CODE] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title> Example …
Hi list, I am trying to create a treeview in which each node has a check box and in the front of each node I would like to draw a box (a rectangulare box) which lets me click on and change the colour property of things which are related to …
Hi there, I am having some issues with getting a variable from an onclick event with javascript. [CODE] $('#preview_logo').append('<img src="'+fileObj.filePath+'" height="100px" hspace="5" /> '+fileObj.name+' uploaded.<a href="javascript:;" id="dele_image" onclick="del_image('+fileObj.filePath+','+fileObj.name+');">Upload Different Image</a><br>');[/CODE] This is for uploadify script for previewing an image that is uploaded, it creates the link fine, but won't trigger …
how to use javascirpt for client side to transfter the values suppose when i enter 2 in textbox1 then in thextbox2 it should show 4 how is it possible because there is no keypress event is there in asp.net texbox control please help
Hello All, Greetings of the day! I am new to PHP & working on a project. What my senior had asked to do is to , creat a drop down menu. I did the same. And just below of drop down menu there is a Text Box, where user can …
Hello, I am using ASP.NET 3.5...I have a text box where I am using the AutoCompleteExtender for search. When user enter the key the serach shows the "ProjectNumber-ProjectName" in the search result....after selecting any of this...only ProjectNumber is entered in the textbox (I am using hidden control to store key …
Using WindowsXP Pro SP3 Problem with javascrip I have installed Javascrip Ver 6.0.190.4 When I try to email a site to submit a query I enter the question but when I click on [NEXT] I get this error:mJavascrip:Void ( ) can you help
Hi I have a Javascript drop down menu that has a Javascript scrolling ticker below it. The drop down menu is appearing on top of the scrolling ticker (as I want it to) in Firefox. The drop down menu is appearing "behind" the scrolling ticker (not what I want!) in …
Hello, I could really use some help with a project I am working on. The project will basically need to track changes that occur within a string so they can be highlighted. Ideally the application would spot that change in the string and prehaps inside a new word at the …
[B]The page:[/B] [URL="http://www.edutecher.net/links.php"]http://www.edutecher.net/links.php[/URL] [B]The problem:[/B] Using the selection on the left side loads the results on the right using a JQuery AJAX post shown here: [CODE] function updateLinks(){ $("#linkBody").fadeOut(500); $.post( 'ajax/linksfilter.php', $("#updateForm").serialize(), function(data){ $('#linkBody').html(data); } ); $("#linkBody").fadeIn(500); return false; } [/CODE] After the request displays the results there will be …
Hi, imagine table with 15 rows and 3 columns. If I move mouse over any cell I want some other specific cells to change their borders like with pseudo-class :hover. I have tried many combinations and I am still having problems, so if you see, where am I making a …
Hi All members i need helping in creating content slider look like this; [URL="http://wpclassipress.com/demo/"]ClassiPress Demo[/URL] note; I ask for creating slider look like this (Thumbnail imge and Title under it) plz any tips to do that, My new WP site depends on this part...plz help
Hi, I have developed a small application which makes use of ajax combo box drop down list. Problem is it is taking time while getting loaded on internet explorer. But i have seen it to work normally on other browsers. Can any one suggest me how can even make it …
Hello, I have a time line calender script in javascript. I can display event's on the calender by adding the following in the html file; [CODE] <li class="Torqua" title="Apr 1 2010">This service is running normally.</li> <li class="Fishin" title="Apr 1 2010">This service is running normally.</li> <li class="Dartmout" title="Apr 1 2010">This service …
hai experts i have a problem to dropdown list, i have use this url coding [url]http://www.plus2net.com/php_tutorial..._down_list.php[/url] (download link --ajax dd) this process use two dropdownlist boxes , my problem is i want insert dropdownlist text only,but here they use get value... how to get dropdownlist text value....pls give me a …
I have little bizarre problem. Working in Java web development we have project that we use plenty of templates from Velocity. Where one template can refresh section of it self and display one or more templates. My problems is that in parent template I have to pop up window with …
Hello guys Im from South Africa and have recently got into web development, im busy learning php, mysql and javascript and expanding my html and css knowledge. Please excuse any dumb questions from me you see floating around, im basically teaching myself so very much a junior here!
Alright, so I've got this dynamic form. My problem is.. the name could be anything between "1" to "100000" depending on what the output of a script is and which parts of the output the user chooses to select. What would you do to get all of the values from …
I am new one of jsp .i have developed simple webapplication using jsp... Step 1 : I have one login page : (contains username ,password and sumbit button) Step2 : I have one logout page : it has one link (Go to login page), just u click this link go …
hai friends i have a problem to dropdown list, i have use this url coding [url]http://www.plus2net.com/php_tutorial/ajax_drop_down_list.php[/url] (download link --ajax dd) this process use two dropdownlist boxes , my problem is i want insert dropdownlist text only,but here they use get value... how to get dropdownlist text value....pls give me a …
What is the best way to implement a rubber band /focus rectangle on a web page? In other words, I want to be able to navigate to a web page like people.com and use the rubber band / focus rectangle to some html content (images and/or text)... ...and I do …
I am really new to php and am attempting to create a news reader on my site. I have gotten it running just fine in a page of its own, BUT, I need it to be inside a php include. How do I link different scripts and stylesheets in the …
i have this code: [CODE] var current; startOff = $('#all').offset(), offString = "{top :"+ startOff.top +", left :"+ startOff.left + "}"; current.css(offString); [/CODE] When "offString" is alerted its fine - eg {top: 123, left: 342} BUT it doesn't seem to like it, but when the alerted output is added into …
hi all i have a checkbox and input box [code] $others_text=$_REQUEST['others_text']; [/code] [code] <input type="checkbox" value="<?php echo $others_text ?>" name="checkacc[]" id="checkacc[]" /> Others <input type="text" style="width:200px;" name="others_text" /> [/code] i want that the customer should tick the checkbox and enter the information in text box and that information should become …
I have an if statement that is always evaluating true even if none of the conditions are true. It goes like this: if(condition1 || condition2 || condidion3) { //do stuff } For whatever reason even if none of the 3 conditions are actually true, it just runs anyway. Is there …
Greetings! I created this form that works like a charm, captures data in my db and sends email. Suppose user Joe hits the RESET button before he clicks SUBMIT, all fields are reset. If Joe hits the RESET button AFTER he clicked SUBMIT (e.g. to make a new submission)...nothing gets …
hey guys im trying to create simple map with few pointers on it using google maps well basicaly the pointers would be representing location and they would be storeded on xml file that woul look something like the code below and than it would be processed by JavaScript [CODE]<location> stop …
HI!! All I have one big problem for which i am not able to find solution. Here is My problem I Have one asp page on which i am generating Dynamic TabPanel all the controls like textbox ,combobox,buttons, are also generated [B]dynamically on tabpanel[/B] now on the button click i …
hi, in my application i am using a music player for playing the audio (premiumbeat.com) royalty music player. Which is working fine when audio file placed directly. But in my application the audio file comes from the other page in a query string how can i write the code for …
The End.