15,698 Topics
![]() | |
Hello: I am trying to validate an ASP.NET radiobuttonlist using client-side javascript in a "Custom Validator" control. Here is my javascript validator: [CODE] function ValidatePrem(source, args) { var Array1 = document.getElementsByName('<%= rblPremModes.ClientID %>') var i; for (i = 0; i < 4; i++) { if (Array1[i].checked) { if (Array1[i].value == … | |
I have a scenario where I show a drop-down-with-few-items in a JSP page, to the user. The length of few options in the drop down is greater than that of the drop down's, hence our requirement is to show the hovered (not selected) option as tooltip for user's convenience. I … | |
[CODE] function function1() { //nereik php validation, nes adminas formos net nepasieks jei js isjungtas $data = array( 'name' => $this->input->post('album_name') ); $query = $this->db->insert('album_name',$data); $id = $this->db->insert_id(); $success = mkdir('./uploads/gallery/'.$id); //albumo folderio vardas bus id $success2 = mkdir('./uploads/gallery/'.$id.'/thumbs'); //mazi paveiksliukai if(!$success || !$success2) echo 'fail'; else echo $id; } … | |
Hi , I have the requirement like this 1) It should be in javascript and html datagrid only 2) In html-datagrid table ...mouseover on cell(coloumn) pop-up should be appear 3) It should be come out from the browser(pop-up) 4) It shoulb be use Javascript only <html> <head> <title>pop-up</title> <style type="text/css"> … | |
Hello guys, Hopefully a nice easy one for you. I currently have a form field that I would like to turn green when the correct entry has been entered and red when an incorrect entry has been returned. I'm very close to a solution (I think!) But I just need … | |
Hi , I have the requirement like this 1) It should be in javascript and html datagrid only 2) In html-datagrid table ...mouseover on cell(coloumn) pop-up should be appear 3) It should be come out from the browser(pop-up) 4) It shoulb be use Javascript only <html> <head> <title>pop-up</title> <style type="text/css"> … | |
hi guys, i am a newbie to javascript. i was working with a form which has two combo box linked to display text. First box contains names of cars, second box contains luxury type options(ac or nonac), the last one is a input box which is only readable and displays … | |
[url]http://s56.photobucket.com/albums/g194/flameingulfedpyro/?action=view¤t=slideshow.jpg[/url] In the picture I have a picture div and a text div. The picture and text are related to one another. I want it that when you click the right or left arrow the pic and text change together. I dont really care how they change, slide, fade, or … | |
Hey guys just a quick question, my AJAX is working in FF and Opera just fine, As in it repeats the function whenever the button is clicked, but in IE the first click works, but then it doesn't repeat... I've been searching around form some fixes, and found quite a … | |
Hello I have a menu and when you hover theres a drop down. I also have a div tag surrounding this "ul" tag that drops down. The div tag has a border on top to make it more appealing. But I'm trying to hide this div tag because the border … | |
[CODE]package Grade; import java.util.Scanner; public class grade { public static void main(String[] args){ System.out.println("Welcome to the Letter Grade Converter"); System.out.println(); Scanner sc = new Scanner(System.in); String choice = "y"; while (choice.equalsIgnoreCase("y")){ System.out.println("Enter numerical grade: "); int grade = sc.nextInt(); char letter = 0; if(grade <= 100 || grade >= 88) … | |
Hi everybody, I have a js(using jQuery lib) file where all events and following actions(functions) are written. For one of such events there is a function that prepends one more similar element from which prepending was called: $("[COLOR="Red"][B]#id1[/B][/COLOR]").click(function(){ $(...).before("<div [B][COLOR="Red"]id='id1'[/COLOR][/B]></div>"); }); so that when I will click to just prepended … | |
Hi guys, I'm working at a college in Michigan and we have an issue with the files not loading correctly for our website. The issue appears to be a javascript problem. When I try to access a page, it will load, but the javascript functions for instance will show up … | |
hi, can someone help me with psudoprotocol in javascript..i mean what is it and how does it work exactly? | |
Hi, I am trying to get a Javascript working in an XSL document and i can't seem to make it work for some reason. I have placed the following code within the head of my document. [CODE] <msxsl:script language="JScript" implements-prefix="user"> <![CDATA[ function popup(mylink, windowname) { if (! window.focus)return true; var … | |
I recently made a java program (multiple classes) which requires user inputs (multiple classes), however I am not sure how to either A) turn it into javascript so that I can put it on a website, or B) add the java file itself to a webpage. | |
does it's possible to retrieve data from a javascript ?? coz js is a client side script and php is a server side how can i get value of my js??[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> <script type="text/javascript"> … | |
Hi, stuck and haven't been able to find a solution. Problem is pretty simple, I'm importing XML content using Javascript in an HTML page. I managed to display the XML elements and positioned it correctly using a table. Now I wanted to style the fonts of each element extracted specifically. … | |
Hi guys, I have a page and inside that page I have an iframe which occupies 60% of the page. Now inside this iframe, I have a button that when i click it, it opens up a [B]modal box[/B]. I am currently using jquery ui modal dialog, could anyone help … | |
Hi there, I'm using asp.net with the ScriptManager control from AJAX and some Javascript code., and came across this weird problem. The thing is that I have a page in which i placed the script manager and refreshed according to the interval of a timer. Some images are placed inside … | |
I should probably begin by stating that I am not a mathematician, not even close. When asked to produce a JavaScript program using the Sieve of Eratosthenes, I started googling. There are a lot of examples out there but very few are for JavaScript, and even fewer include comments. Could … | |
I have a form with the vendor and product fields, I want that after these two items are completed the price of the product field is automatically filled in accordance with the vendor and product inserted (remembering that there is a price table where you register the product price and … | |
Hey folks, Long story short. I've been looking around all day for a script that would detect the height of one div (can't be predefined because of dynamic text content), and set a second div as that same height. I found a few forum topics about scripts I thought could … | |
How to send [COLOR="Red"][U]ANY[/U][/COLOR] text via jquery ajax method to php script? When text entered in textarea is html entity, php $_POST[]/$_GET[] sees it as empty string. Here is the code: [CODE=html] <head> <script type="text/javascript" src="/Engine/js/jquery-1.4.4.min.js"></script> <script type="text/javascript"> $(document).ready(function(){ $("button").click(function(){ $.ajax({ type: "GET", url: "get.php", data: "ta=" + $("#ta").val(), success: … | |
Hi, I've noticed some websites don't display their content until everything's been processed, downloaded and ready for render. The result is images [B]DO NOT[/B] render after download, so there're no images popping up everywhere on the page while the page is processing its next request, but wait until it's done … | |
i need a script that data's fetch from mysql and display in text scroller using javascript. i' uses it is a news update. please somebody helpp me. ![]() | |
Hi there, Pretty novice to JS, just wondered if anyone could give me a hand please. I have a form that is passed to itself. I was just wondering if there was a way to get this to validate before it passed to itself. I was assuming that as the … | |
forums, I’m developing a site for some hotels in baltimore. I want to incorporate a booking widget similar to the one on: [url]http://www.dullesairporthotelrooms.com/[/url] Where a user can select 1 of 4 property’s to check for availability. can any1 please help with this? Thank you, -neco | |
what can be the reasons for the same code which works perfectly in notepad to not show its result in a jsp application done using eclipse??anything to do with settings? I am not able to display the current date as default in dd/mm/yyyy format in drop down menu box..only dd … |
The End.