15,700 Topics
![]() | |
![]() | Hi there, I would like to implement a web based UI that allows people to drag and drop "chairs" and "tables" onto a floor layout (grids) and save it to their profile by storing in the database. I am wondering how do I start doing this? I am using vb.net … |
Ok this is as basic a jquery coding as you can get.. Why does div id=tx show on load??? I'm testing this on wamp localhost...www folder. Any help?? Is there anything i need to do to save the jquery.js? jquery.js is in the same folder as this page. [CODE] <html> … ![]() | |
It's taken me a long time trying to fix this and I still haven't found out how to do it. My knowledge of javascript/jquery isn't great but for the website I'm building I tried experimenting with some, reused some code (reuse was allowed by author) for a content gallery and … | |
Hello Fellows :) I am trying to find a way to get more than one characters pasted on html text field (input type=text), using onkeydown or onkeypress, I am NOT interested in onkeyup(it works), so please do not suggest me this solution. Also I am not interested in Jquery, I … | |
I use the following function to expand the footer border for a website I'm creating: [CODE] <script type="text/javascript"> var x=5; <!--original height--> function expand() { document.getElementById("footer").style.height=x+'em'; <!--Gets the height from css.css in the div "move"--> if(x>10) { <!--Desired height after expansion--> clearTimeout(t); return; } x++; <!--desired height isn't yet reached, … | |
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 … | |
Hello. I am trying to create a javascript date/time script to display the current GMT date, but obviously because javasceipt is client side it displays the clients current date not the GMT date. Does anyone know how i can get javascript to show the current GMT date to anyone (even … | |
i have a code to add and delete of divs when i click add button div was creating and on delete button div was deleting but i need with single link when on first click div has to create on same link if we click on second time div has … | |
I have a form having validation given below in java script. The problem is when i am inserting form data in a database,if there is any validation error,still added in database. please give me suggestion where to use PHP code I am using this code for insertion [CODE]<?php if(isset($_POST['submit'])) { … | |
I have no idea if I am doing this correctly. Eight years ago I was a C++ programmer, then I left the industry. I am lost and have been reading heaps on the web but do not know where to begin. I wrote a MySQL DB, I have populated the … | |
Can any one help me reg this. I am working in web application project. In this on a div i have double click event to open a popup box, in android browser if i did double click then it fires zoom in event. Please any one help me javascript code … | |
l have got a series of menus. What l want to do is change the background-color of the link onclick. What l have done use jquery like this [code]jQuery('.menu a').click(function(){ var clz = jQuery(this).attr('id'); jQuery(this).attr('class','active'+clz); })[/code] This is not work.The code needs to work on mobile phones | |
HI while clicking calendar button calendar is displaying in IE6 and IE8 but in IE7 browser calendar is not displaying, java script error like obj null iam getting pls help me in this // written by Tan Ling Wee on 2 Dec 2001 // last updated 20 June 2003 // … | |
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"; … | |
What is up!? I am completely stuck and trying to do something I'm not to certain I can do. After reading on web I have seen 2 options... non i cant get work... Before I get ahead of myself let me explain what is going on. I have a JS … | |
I recently hired a freelancer to validate all the code for my Wordpress e-commerce website ([url]http://www.projectdisobey.com/disobeyclothing[/url]) He told me that he had finished validating everything, but when I tested each page out using the validation service at [url]http://validator.w3.org/[/url], I came across a whole load of validation errors ([url]http://imageshack.us/f/836/validationerrors.jpg/[/url]). I notified … | |
Hi all, So I have 2 files where one is an ajax script that calls another file that does some mysql database query. What is the best way to echo out multiple recordset rows to ajax?. Please see the source code below: ajax code: [CODE] <form name="form1" method="post"> Please enter … | |
hello i have a form for registering the user and i use java script for client side check that the field is filled or not the problem is that when user not fill the first name and press register button it will show client side message that the first name … | |
I have this form that has a textarea that is compulsory, it has a checkbox that allows it to be ticked to show a hidden textarea using css/jquery. What I would like is to know how to do the jquery to force input into the unhidden textarea only when the … ![]() | |
Hi, For some time I'm using window.createPopup(), recently I noticed that It cannot be used in modal dialogs that are opened in IE8 protected mode, So I was wondering is there still some way to make window.createPopup() work in the above situation, Thanks ahead, Daniel. | |
Hi Can you please go through the HTML files and let me know where am I going wrong? Page1.html : [inlinecode] <html> <head> <title>PAGE 1</title> </head> <body> <form action="page2.html" method="get" name="LoginForm" id="LoginForm"> Username : <input name="username" size="20"> Password :<input name="password" type=password size="20"> <input type="submit" name="Login" value="Login" > <input type="reset" name="Reset2" … |
The End.