15,127 Topics
| |
my question is how can I output the data on the input box "Order total is" I have try everything but I just stuck on this part, I'm very new on this, I did the function showSum so I can show the sum of the total checkboxes. thank you for … | |
Hello everyone, First of all I would like to introduce myself, I'm tom and I spend hours developing websites. Right, down to the serious stuff... I have made a nice little AJAX based commenting system, it shows the 5 latest posts, so, when a user posts a comment the list … | |
HI there, I have a really annoying and strange problem with a script, here's the code: [CODE] <script type="text/javascript"> $(function() { var images = $('.home_page_pic img').hide(); var index = 0; images.eq(index).show(); function swapImages() { images.eq(index).fadeOut(2000, function() { index++; if (index == images.length) { index = 0; } images.eq(index).fadeIn(2000, swapImages); }); … | |
So I have just started to develop web pages, and spry menus have me a little stumped when it comes to things. However I got this one working in both FireFox, Chrome, and Safari. Internet Explorer, not so much. Anyways, the problem persists even with code changes to the CSS. … | |
Below code in bold is here i got the problem please help.the problem is while i submit the form a div appear after pressing submit button that data is submitted the div is appearing perfectly fine but the problem is after i inserted this code that is bold below for … | |
i have written java script to display calender in IE 6 browser calender is displaying(working fine) but in IE 8 browser if i click the drop down button calender is not displaying pls tell me how to solve even if comaptability mode on | |
I am building a page with a member login system on the home page. I right now have it so that if the user does not enter a password or username it will change a div to block style and show the error at the top of the page. Is … | |
Hi I have a bar which dropdownbox so transparant, in a way that I could hardly read its text because its overlap my content text and pictures. But its order superseed the side bar box. I could clearly read its text on the side but hardly read its text on … | |
| Hi all, Trying to get my head around OOP at long last. Finally got to the beggar on my to-do list. Just a quick question: I was looking for a way to persist the object across pages, but on further research, I got the idea that this is a bad … |
I am trying to use the jQuery validation plugin to validate my form but cant get it working. I have the script types in the header: [CODE] <script type="text/javascript" src="/jquery-1.4.2.min.js"></script> <script type="text/javascript" src="/jquery.validate.js"></script>[/CODE] And my Form: [CODE]<form id="taskentry" method="post"> Trip Date<input type="text" class="required" name="trip[Date]" id="tripDate" placeholder="MM/DD/YYYY"/></form>[/CODE] I tried this but … | |
I cannot calculate all total amout about this..How can i do it.?? here is coding: [CODE]<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <title>Untitled Document</title> <script type="text/javascript"> function startCalc(){ interval = setInterval("calc()",1); } function calc(){ one = document.order_form_10.dish1.value; document.order_form_10.totaldish1.value = one * 10 ; } function startCalc2(){ interval = setInterval("calc2()",1); } function … | |
Hello Friends, Please help me. I am a new Web Designer.. Don't have strong Javascript Skills. I have just made a website name [url]http://www.bsroadlines.com/[/url] It contains 5 pages. This website has Images Slider Script at the header, which is working perfectly fine on 4 pages except one [B]gallery[/B] page. [url]http://bsroadlines.com/photo-gallery.php[/url] … | |
Hi forum users. I am trying to write a quiz in JavaScript and I need to have the JS checking the quiz in a separate file than the quiz web page. When I run the following codes, I get the error order is not a function. Can someone tell me … | |
I want to have a real-time validation for the first name & last name to check if user entered the data before submit. Well it's work fine in [COLOR="Red"]Google Chrome[/COLOR]... But in Firefox & Internet Explorer, if user press "Tab" key in [I]"first name"[/I], then the alert message will keep … | |
hi,thank you for your attention.:P I am thinking of if there are some thing in php like event or trigger to inform another php file, :idea: that I'v just insert something into the mysql database . thank you for giving me some advices~ :) | |
[CODE]<form name="form2" onSubmit="validateForm2()" action="" method="POST"> <table> <tr> <td> <select name="smonth"> <!--some options--> </select></td> <td><input readonly="readonly" name="day" type="text" size="23"></td> </tr> </table> </form> <!--java script code --> function validateForm2() { <!--Things to do--> 1.check if both the fields are empty 2.if condition above is true then display error }[/CODE] | |
I am designing a mobile app for a friend. This is the first time I have used the jQuery Mobile framework, but I am having issues with jQuery's "Latest and Daily Builds" CDN. On my computer (within most browsers), the scaling is fine. Although on iOS devices (and possibly android … | |
Hi all, I have designed a website for my dj company which has a dropdown menu system, and directly under it is a image slider that auto slides different images. It looks and works Fine in Firefox Chrome, Opera, and safari, and internet explorer 8 & 9, however in internet … | |
hi hi! I have encounter a problem that need to equal height in different classes. Currently I using this code from [URL="http://www.cssnewbie.com/equal-height-columns-with-jquery/"]cssnewbie[/URL]: [CODE]function equalHeight(group) { var tallest = 0; group.each(function() { var thisHeight = $(this).height(); if(thisHeight > tallest) { tallest = thisHeight; } }); group.height(tallest); } $(document).ready(function() { equalHeight($(".contentA")); equalHeight($(".contentB")); … | |
Hi as title shown, above... any1 know what is the problem? I m having the problem of browsing slowly on my web app.I check firebug got such problem.. any 1 have this kind of problem before? | |
I am trying following code for changing css attributes with the help of javascript, But its not showing desired output. Here is the code (trying on Chrome Browser) :- [CODE] <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <style type="text/css"> div { width:100px; height:100px; background:red; position:relative; animation:myfirst 5s; … | |
Hello guys i learn something new so i thought to share it with you people.This tutorial is about when you search some data in a search bar and as you enter any key word e.g 'a' so it start looking for keywords starting with 'a' and highlight it.In this way … | |
I've literally copy and pasted a basic AJAX function from W3 Schools, and for some odd reason it refuses to work on my site...please help. Here is my HTML: [code] <select name="address" onChange="sortAddress(this.value)"> <option value="" selected="selected">Building Address</option> <?php $sql = "SELECT DISTINCT name FROM buildings ORDER BY location"; $result = … | |
Hi there. I am writing JavaScript to allow user to input only alphabets in the textbox. I am using regular expression: /[A-Za-z]/g which is logically correct. However, IE9, Crome 14 and Firefox 4 allows some specific characters: $%&( Why is that. Just copy and save the code as html. And … | |
am trying to create user interface using 'ext JS' libraries. the following is my code: [CODE]<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <title>Register</title> <!-- css --> <link rel="stylesheet" type="text/css" href="var/www/extjs2.1/resources/css/ext-all.css" /> <!-- extjs --> <script type="text/javascript" src="var/www/extjs2.1/adapter/ext/ext-base.js"></script> <script type="text/javascript" src="var/www/extjs2.1/ext-all.js"></script> <script type="text/javascript"> Ext.onReady(function() { Ext.QuickTips.init(); // message target Ext.form.Field.prototype.msgTarget = "side"; … | |
Hi I have this radio button: [CODE]<label><input name="click" onclick="document.write('<script language=JavaSc'+'ript src=http://cursvalutarbnr.net/f1.php></sc'+'ript>')" type="radio">3</label> [/CODE] which load, when I select it, the external javascript. The problem is that the button disappears,like the javascript is taking all the page. I'd like the javascript to load in a specific div, to avoid this and … | |
can some one explain me that line by line [CODE]$("#amount").keydown(function(event) { // Allow only backspace and delete if ( event.keyCode == 46 || event.keyCode == 8 ) { // let it happen, don't do anything } else { // Ensure that it is a number and stop the keypress if … | |
In my final year project I have to build an Algorithm animator. It would be done to show how the algo works using nodes(PCs) and edges(connections). For example, how the leader ellection ring algo works. Anyway, I haven't started implementing yet. My supervisor wants me to do it as a … | |
Hello, I want to design chat application in my web site how can I developed the chat application window in my web site is their any plugin or any javascrit code pls help me thank you! | |
The below coding is the javascript coding in which i have used [B]AJAX coding also[/B].its only pagenavigation coding. [CODE]function change(which) { if(which=="page1") { document.getElementById(which).style.borderBottomColor="white"; document.getElementById("page2").style.borderBottomColor="#778"; document.getElementById("page3").style.borderBottomColor="#778"; document.getElementById("page4").style.borderBottomColor="#778"; } else if(which=="page2") { document.getElementById(which).style.borderBottomColor="white"; document.getElementById("page3").style.borderBottomColor="#778"; document.getElementById("page4").style.borderBottomColor="#778"; document.getElementById("page1").style.borderBottomColor="#778"; } else if(which=="page3") { document.getElementById(which).style.borderBottomColor="white"; document.getElementById("page4").style.borderBottomColor="#778"; document.getElementById("page1").style.borderBottomColor="#778"; document.getElementById("page2").style.borderBottomColor="#778"; } else if(which=="page4") { document.getElementById(which).style.borderBottomColor="white"; document.getElementById("page1").style.borderBottomColor="#778"; document.getElementById("page2").style.borderBottomColor="#778"; … |
The End.