15,127 Topics
| |
I have js on a form page for users to be able to select all check boxes for classes to enter in a dogs show but I want to be able to offer the facility to select just classes on specific days as well and I don't know how to … | |
hey everyone, first i will show u my code pages. addcart.php [CODE] <?php require_once("../Connection/connection.php"); if(!$_POST['img']) die("There is no such product!"); $img=mysql_real_escape_string(end(explode('/',$_POST['img']))); $q_result=mysql_query("SELECT * FROM tbl_items WHERE item_photo='".$img."'"); $row=mysql_fetch_assoc($q_result); $period = $_POST['period']; $count = $_POST['count']; $query_search1 =("SELECT * FROM `tbl_rates` WHERE `rental_period` = 'Daily' AND `units` = '10' AND `category_id` = … | |
hie there..i m using tis embeded media player in my web. but, how can i provide checkbox for each song and then let the user play the multiple songs together using tis code? the music file format are .wma, .mp3 or .midi.... plz help me...thank you [code] <embed type="application/x-mplayer2" id="music1" … | |
Hi all, I am at a stand still with trying to figure this out. I have a textarea, i would like to check for links entered by users and replace/remove the anchor attribute from the string. ie. change [ICODE]<a href='google.com'>website</a>[/ICODE] to [ICODE]website[/ICODE] its more so to validate ( i have … | |
Hello I am currently working on a project but I am currently stuck, what I'm trying to do is add a simple PHP site hit counter to an ajax site which counts the # of visits to an specific page, now I gotten the pages to show up and they … | |
Hello @all , for several days i try to create a nested-ist generated by jquerymobile from websql querys. I can only master the code to show all parents and children in 1 single list. However of course, i want to have each child to its parent. I would appreciate any … | |
Hello Everyone; I`m Beginner Javascript Developer and I Have a small problem with parseInt method the code is below: [CODE] <script type="text/javascript"> window.onload = Rectangle; function Rectangle () { var e = document.getElementById('Rectanglee'); var w =parseInt(e.style.width); var h =parseInt(e.style.height); alert (w); alert (h); } </script>[/CODE] the code is supposed to … | |
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 … |
The End.