15,120 Topics
| |
So I am building an app on facebook that is meant to be a photoshop clone. The problem I am facing currently is how to make a circle around the cursor that follows it around like in photoshop. Also like in photoshop, I would like the size of the circle … | |
Hello! This is my first post. :) Is it inappropriate to place many <input type="hidden".... to submit? Here's an example: [CODE]<form action="/" method="post"><input type="hidden" name="ad" value="0x2443ae42"><input type="hidden" name="ad" value="0"><input type="hidden" name="ad" value="3"><input type="hidden" name="ad" value="test"><input type="submit" value="apps"></form>[/CODE] Some browsers seem to not send back all the data. My guess is, … | |
i am writing javascript for something and it wont work on google chrome. it will work on everything else but chrome. can you please help? here is the code: [CODE] var title='CrazieToday - Best Event Organizer Ever'; var url='http://crazietoday.com'; function AddToFavorites(){ if (window.sidebar) { window.sidebar.addPanel(title, url,""); } else if( window.external … | |
I found this code and have implemented it with limited success. It's the Java bit that's baffling me. The goal is to produce a dropdown box for the first instance of the shiptogroup (there are five total) and a blank cell for all other instances. When a selection is made … | |
i need to know weather or not there is a way to put the cursor below (z-index wise) a div element or make it so that you can click through the div element. | |
I'm having trouble with some basic AJAX, I'm very new to it but have found a similar chunk of javascript that I've altered to my needs (kind of). I have a <div> that I want to change upon the click of a link. It contains a list of entries, ordered … | |
Hello i am trying to create a script that will allow for the user to click a link and pop up page opens up with the content from the same page e.g [CODE] <?php $option = $_GET['option']; ?> <SCRIPT LANGUAGE="JavaScript"> <!-- Begin function topWindow(){ popup = window.open("page1.php?option=<?php echo $option; ?>","scrollbars=no"); … | |
Hi people :) I'm in the process of developing a website where there is going to be music on. (Dont worry, the users that will come to the website already know that there will be music - it's the point of the website). But I'm thinking that it would be … | |
ok so i have this in query: [CODE] $(document).ready(function(){ $("input#copy").click(function(){ if ($("input#copy").is(':checked')) { // Checked, copy values $("input#owner_address").val($("input#subject_address").val()); $("input#owner_city").val($("input#subject_city").val()); $("input#owner_state").val($("input#subject_state")); $("input#owner_zip").val($("input#subject_zip").val()); } else { // Clear on uncheck $("input#owner_address").val(""); $("input#owner_city").val(""); $("input#owner_state").val(""); $("input#owner_zip").val(""); } }); }); [/CODE] That works fine for input:text boxes but doesnt work for dropdown menus. How to … | |
Hi all - I'm looking for a flexible way, via ajax to verify if a *field* is available. I found a script that works: [url]http://web.enavu.com/tutorials/checking-username-availability-with-ajax-using-jquery/[/url] The problem is that this is a little unwieldy: for every field (input) that you want to verify w/ajax you have to have a different … | |
| Hi All, I have a ASP.net web application developed using C#. It has got a button on click of which an excel file is shown to the user. User can save or open the file. But this operation takes about a minute to complete. I wish to implement Ajax in … |
Hello, does anyone know a simple way to focus on a different text field after the user enters data in the first text field? Thanks. | |
[B][COLOR="Green"]hi evryone !! i am designing sites in sharepoint 2010 and i need to use the javascript in vb.net!! and how to display an alert message in a web page using vb.net!?! please help :) thank u :) [/COLOR][/B] | |
Hi, I need a Java / Ajax Web Form Code, which can work on the sites pages without server side and work on the fly. I want to use Form Code on different pages and every page I can define a different email address to whom from data will be … | |
Hi, was wondering if someone could help me out.. :D See I want to remove my script for thickbox depending on the url path. It is not working so wondering if someone could help me out? so the url in the link would be: [url]http://example.com?nolb[/url] here is the code: [CODE] … | |
i am wring a website and i need help with some javascript. first ill give you the code [CODE] <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <script type='text/javascript'> function showdiv(name){ var divname=name; show(); } function show(){ document.getElementById(divname).style.display='block'; document.getElementById(divname).style.overflow='visible'; var lastdiv=divname } function closediv{ if (lastdiv) { document.getElementById(lastdiv).style.display='none'; … | |
Hi to all, After comming alert, cursor should not go to the next field. i am a beginner to script functions. can any one give me solution . [CODE] <script> function validateDate(strdate) { if(strdate.length < 8 || strdate.length > 8) { alert("Error:Enter Valid Date"); } else { ValidateNum(strdate); } } … | |
Last week, I took a look at Node.js, a powerful server-side implementation of JavaScript. But one thing I found lacking was the way to easily create a web server. Essentially, Node is an implementation of CommonJS, which adds operating systems features to JavaScript. But Node is not a web application … | |
Hi Im processiing a json response [code] link_cart.setAttribute('id',bits[i].product_id); link_cart.onclick = function(){ add_to_cart(bits[i].product_id); } [/code] In the first line, the product_id value is correct, the json is a list of products, but it doesn't behave strangely, But the second reference in the onclick handler, displays a value of 22, which is … | |
| Hi All, I have a ASP.net web application developed using C#. It has got a button on click of which an excel file is shown to the user. User can save or open the file. But this operation takes about a minute to complete. I wish to implement Ajax in … |
Hi there! I have this function in jQuery that is suposed to toggle a div, according to each different record I click, in order to toggle an upload form. However I can't seem to get it to work properly. Anyone could help? I really need this working today :( jQuery … | |
Hi guys, Just wondering if anyone can help me with some IE/JQuery issues. I have created a drop menu using the below code. It works in opera, safari, chrome and firefox. I have tested it in ie7 but the menu appears to the right(probably a css issue) and when it … | |
Hi, I am using the Google Maps API to integrate mapping into a web application. I am using HTML and JavaScript. I am having difficaulty integrating the directions function. I have a form which collects the users address/current location which is supposed to display a set of turn by turn … | |
Currently i have this code written [CODE]<? require('db.php'); $demo = new SortableExample(); $list = $demo->getList(); ?> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <link rel="stylesheet" type="text/css" href="style.css"> <script src="js/prototype.js"></script> <script src="js/scriptaculous.js"></script> <script> Event.observe(window,'load',init,false); function init() { Sortable.create('listContainer',{tag:'div',onUpdate:updateList}); } function updateList(container) { var url = 'ajax.php'; var params = … | |
Hello Anyone can pls provide me with a sample code, whereby if I change a field value in a web form (from a drop-down list for example), the value shown in another field is automatically updated to show the needed value for that selected option? | |
[CODE] <html> <body> <canvas id="example" width="800" height="600"> This text is displayed if your browser does not support HTML5 Canvas. </canvas> <script type="text/javascript"> var example = document.getElementById('example'); var context = example.getContext('2d'); for(var j=0;j<8;j++){ for(var i=0;i<6;i++){ context.fillStyle = "rgb(255,0,0)"; context.fillRect(100*j, 100*i, 50, 50); } } </script> </body> </html> [/CODE] how do i … | |
I have the fields of three. There are Criteria, Line, and Customer. I use CodeIgniter as my php framework. In this case, if I want to choose Line fields (dropdown), I have to choose Criteria first, the line fields is disabled until I have criteria choosen. The same thing as … | |
I've looked at all of the lightboxes and I'm not sure if I'm not looking hard enough or if I'm looking in the wrong place. I'm looking for a plugin that I can use that will allow me to do the following. Have 1 row of images (about 5 images … | |
I've looked around and from what I can tell, the code seems right. Basically crating a JS array and passing PHP values to it to use in an onChange to fill a text field. The dropdown gets populated fine but the text field does not autopopulate onChange. I'm not too … | |
Hello. I'm still in the learning process. I'm trying to figure out how this works. I'm trying to change the background and color of the text on hover and make it click able. When it is clickable, I would like the background to change on active, and then when you … |
The End.