15,699 Topics
![]() | |
HAVE CLIENT-SIDE FORM COOKIE GET AND SET FUNCTIONS IN THE SECOND WINDOW DOCUMENT EXTERNAL JS.FILE OF A DUMY TEST SITE FOLDER ON MYCOMPUTER. IE8 THROWS 'SYNTAX ERROR' ON THE 'WINDOW.LOAD=FUNCTION, FIRST COOKIE FUNCTION HIGHLIGHTED'. CAN I ACTUALLY TEST COOKIES ON A TEST SITE ON MY COMPUTER WITHOUT THE SERVER (MYCOMPUTER) … | |
Hi....Friend i have to make this task...... create a time clock that display on the status bar and keep on changing every after 1 second. Kindly keep the format as given in the picture. i have created code but i dont know how to put on status bar... my code … | |
Hey guys, I'm hoping this isn't anything complicated. I don't know any javascript, but I think it can be done with it. Basically what I need is on select option to change the value of another selection option. More specifically: when a user selects a time from the first option, … | |
Hello. I don't know if this is the right forum for this. I have resently downloaded a custom jQuery UI Pack, only using core and tab widget. On the examples in the index.html file, everything loads fine. Then I copy the files to my website directory, (all locally) and the … | |
hi i made a tutorial for appearing default text in text fields [snipped blog promotion] | |
[IMG]http://img26.imageshack.us/img26/5063/ddddqk.jpg[/IMG] [CODE] <style> div#back{ width:1000px; height:1000px; margin-left: auto; margin-right: auto; background-color:#096; } div#topmenu{ width:400px; height:35px; position:relative; top:5px; left:595px; background-color:#9F0; } div#logopart{ width:950px; height:70px; position:relative; top:0px; left:50px; background-color:#0FF; } div#leftmenu{ width:100px; height:400px; position:relative; top:0px; left:0px; background-color:#999; } div#cont{ width:900px; height:500px; position:relative; top:0px; left:0px; background-color:#FF6; } </style> ... <div id=back> <div id="topmenu">topmenu</div> … | |
I have found a fairly generic script for refreshing the content of a div without refreshing the whole page and although it works fine, there are a few things I would like to improve on if they are possible. [CODE]<script src="http://code.jquery.com/jquery-latest.js"></script> <script> $(document).ready(function() { $("#refreshdiv").load("activity.php"); var refreshId = setInterval(function() { … | |
Hi experts, im new to coding and i really need help for this. i have done a shopping cart calculation using javascript my question now is, HOW TO SEND JAVASCRIPT VALUE INTO DATABASE (MYSQL) ?? [CODE] <?php require_once 'library/config.php'; require_once 'library/cart-functions.php'; $action = (isset($_GET['action']) && $_GET['action'] != '') ? $_GET['action'] … ![]() | |
Good Day All i have a Jquery code defined like this [CODE] // Let's add it to textarea this time $(".cnt").focus(function() { // Check for the change if(this.value == this.defaultValue){ this.select(); } }); [/CODE] and i am creating a textbox on fly and after creating it i bind data to … ![]() | |
Colorbox is a modal window that is jQuery based and is lightweight. I decided to use it in my blogger blog for a one-time subscription box based on the tutorial at: [url]http://www.bloggermint.com/2011/06/how-to-create-modal-subscribe-box-using-jquery/[/url] On a test blog, it worked perfectly. : [url]http://downloads.neuronhub.com[/url] (Ignore the missing images) However, when I tried the … | |
Hey Dean here again, I've been assigned to make an earnings calculator with user input I'm just having trouble in making the final sum work I just get NaN for an answer [CODE] function getValue() { var values = new Array(239.99, 129.75, 99.95, 350.89); var name = prompt("Enter your name: … | |
I really need help on this,I know nothing about ajax.. and I really need this to include in my page this is the original code : - [CODE]<html> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <head> <meta http-equiv="content-type" content="text/html; charset=windows-1250"> <meta name="generator" content="Andy Moore: http://locationdetection.mobi/"> <title>TEST1</title> </head> <body> <div id="geo" … | |
Question Get cells by className to equal innerHTML of cell id 'subtotal' I'm trying to grab all the cells created with insertrow function and the className 'rowtotal' and get their innerHTML to equal that of a cell with id 'subtotal'. This is a simplified html code of single cell inserted … | |
I have created a home page with a division in which 2 other JSP pages are to load. The validations fire properly when I lauch those 2 pages seperately. The problem is, validations arent working when they load within the first page. How can I solve this? Should i write … | |
Hi there, I'm currently adding in a recaptcha to a contact form that I didn't create in the first place, so I've been tentatively working my way around it. For some reason though, every time I complete my form, no matter whether the captcha I entered was right or not, … | |
i want to get #value into the url to without refreshing the page ?? i tried window.location.hash to get the #value but it return blank.. the url is index.php?page=contact-us#email plz help to resolve the problem >> | |
hi i have created a php file which calls a php function and echos the results. i dont want to display the results i want to use them in a jquery function. [CODE] jQuery('body').prepend("<div id='target'></div>"); gMap.gmap3({ action: 'init', onces: { bounds_changed: function() { var number = 0; jQuery(this).gmap3({ action: 'getBounds', … | |
Hi Friends, Please check this code where i was did wrong ? thanks in advance. [CODE]<button type="button" onclick='showData()'>Edit</button>[/CODE] [CODE] <script type="text/javascript"> function showData() { if (window.XMLHttpRequest) {// code for IE7+, Firefox, Chrome, Opera, Safari xmlhttp=new XMLHttpRequest(); } else {// code for IE6, IE5 xmlhttp=new ActiveXObject("Microsoft.XMLHTTP"); } xmlhttp.onreadystatechange=function() { if (xmlhttp.readyState==4 … | |
Hello. I'm working on a website that has pages with variable height. However, the footer is one of my main problems. When the page can be scrolled, the footer needs to be [icode]position: relative[/icode]. When the window height is greater that the page content height (no scrollbar), the footer needs … | |
Any help appreciated in advance.... I have been trying to get a javascript to use ajax to call a php script to read from an mysql database and write out an xml dom document so that I can add markers to a google map. I think I have all the … | |
I am trying to add a data(string) to a url in javascript and pass to java controller. In server side i am using spring mvc. The javascript code below redirects to the save.htm with the data concatenated. I couldnt figure out how to catch. Is there any way to pass … | |
Hi senior developers or any experience on jquery. I have a problem here I m unable to show my accordion function correctly. [CODE] functionLoadList(){ $.ajax({ url: "List.php", data: "", type: "POST", success: function(html){ $("#list2").accordion({event: 'mouseover', animated: "bounceslide", header: "h2" }); $("#list").html("<div id=\"MyGroupListing2\" style=\"width:300px;height:800px\"></div>"); } });[/CODE] [CODE] <div id="list"></div> [/CODE] | |
Hi all, I've been searching for hours for an answer to this. I can never get help from the google forums, so thought I'd try here. I wasn't sure whether I should post in pay-per-click or web design, but I figure PPC people have experience with this kind of thing. … | |
i want this animation to start from the beginning but i dont know how to do it. im using scriptaculous framework. here is my animation: [url]http://silviadwomoh.com/loop/[/url] and here is my code: [CODE] <script type="text/javascript" language="javascript"> //fade div 1 new Effect.Fade('anim1', {duration: 1, from: 0, to: 1, afterFinish: function (one){ //after … | |
hi Im developing a procedure that should write some client side objects like an array or even enforcing asynchronous postbacks to the server using jquery ajax features.Im new to this and i get some minor errors after trying out the solutins. for registerarraydeclaration this is what i have: [CODE] clientscript.registerarraydeclaration("array … | |
Below is a piece of code I would like to add variable called Total which would be updated if a new row is added(adding amount to Total) or deleted(subtracting the particular row amount from the Total). How do I acheive that? ANy pointers would do. Thanks in advance. <html> <head> … | |
[CODE]<%@page contentType="text/html" pageEncoding="UTF-8"%> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>XYZ Travels Pvt Ltd.</title> <script type="text/javascript" language="javascript"> function a(){ var x = document.forms.frm1.UserID.value; var y = document.forms.frm1.Pass.value; if(x=="" || y=="") { alert("Required Field cannot be left Blank"); if(x!="") { document.forms.frm1.Pass.focus(); } else{document.forms.frm1.UserID.focus();} } … | |
I need to make this code set "str" as "Recent" if the "str" got no value. Right now i have to use this: [CODE]<form> <select name="users" onChange="showUser(this.value)"> <option value="">Select album:</option> <option value="Recent">Somealbumname</option> </select> </form>[/CODE] but its really annoying to have to use the select, i want the code to load … | |
<!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 language="text/JavaScript"> function Myconn(){ var cn = new ActiveXObject("ADODB.Connection"); var strConn = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source = Test.mdb;Persist Security Info=False"; cn.Open(strConn); var rs = new ActiveXObject("ADODB.Recordset"); var SQL = "select * from Customers"; rs.Open(SQL, … | |
I need autofill script but i dont know where to begin I have mysql databese table like this (records aprox. 400): id | product name | barcode | quantity | price ------------------------------------------------------------- 1 | procuct 1 | 0000001 | 21 | 12 2 | procuct 2 | 0000002 | 23 … | |
I want to convert a binary value to a decimal value, but it seems to lengthy for me as I written the below ugly code, which is frusrating and constraining, any one with a short and nice code. [CODE]<html> <head> <script type="text/javascript"> function displayDate() { var a=document.getElementById("text").value //alert(a); var b=a.charAt(0); … | |
Hi, I am new in ajax. I am using a calender in javascript.& also using ajax code for form validation n submission. but calender is not working if i use ajax Need suggestions. [CODE] <script type="text/javascript" src="jquery.min.js"></script> <script type="text/javascript" src="script.js"></script> <script type="text/javascript" src="js/jquery.js"></script> <script type="text/javascript" src="requirement_validation.js"></script> <script type="text/javascript">jQuery(document).ready(function($) {$('a[rel*=facebox]').facebox() })</script> … ![]() | |
Hi, I m using this javascript code. for form submission i am using ajax.The problem is date calender is not showing when i use ajax file. If i remove ajax file,its working fine. Need help as i am using ajax first time [CODE]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> … | |
I've been trying for 3 days now to create an extension for a asp.net site and save the session, so you'll be logged out when you close the browser So i created the manifest.json and the popup.html, the popup.html opens an iframe which contains the site. in my other extension … | |
Hello. I am new this perfect designed forum. About 1 week I have been searching that subject. I develope a site about study abroad. I want WP not Joomla or Drupal. Now the client as my friend wants a perfect site with search properties (by city, by price, by university) … | |
hello friends may peace on you ! I have a little problem in my code.i want display the fetch value from db in a textfield after pressing load button.i am using ajax post method for it but cant figure it out what the problem.please help me ! Thanks, [B]Index.php[/B] [CODE] … | |
I have a web project I've been working on in my free time using mostly jsp. It's currently set up so that if a user clicks the login button it takes them to a check-login servlet which will return whether it's a valid login or not through a session.setAttribute("loginstatus","Valid"). Everytime … | |
Hi! Look. I have such sequence A few divs with different names which are generated automatically [ICODE]<div id="<?php echo $oneid;>">[/ICODE] then I have inside each this div input fields and button with next attributes [ICODE]<a id="buttonid" class="button"><span><?php echo $button; ?></span></a> </div>[/ICODE] And below I have javascript which is applying only … ![]() | |
[I][B]Hello,[/B][/I] I would have contacted the website's owner, but there's no email on the site. I'm looking for someone's help on this. By looking at the code below, the link(s) open in a new window, and wanted to know if there's something that can either be added, modified or deleted … | |
Please i have a form that has textfields dynamically generated and work fine.but i want to have one of the field display from the database while an textfield multiply the value from database for each of the lines.how do i do that? below is my code: <SCRIPT language="javascript"> function addRow(tableID) … | |
I'm using the TinyMce and switched it to BBcode, it's saves the data fine, but it displays it later with the bbcode tags, should I write functions on my own that turn the bbcode into html tags, or is there something ready for that? | |
So I'm beginning to use JavaScript with a new gaming platform I'm trying out and LOVE the interface. It's making everything so easy compared to the in the garage type setup I'm used to. Learning JavaScript has been pretty easy so far but I've hit a snag with typeof. [CODE] … | |
In my application i am allowing only 3 admin users at a time to log in to the application. In case where one of the admin user directly closes the window or tab without signing out i need to invalidate the session or need to decrement the number of admin … | |
Hi, Recently I developed a website and i want to play my tv card inside my browser(on that website). How can i do this..? Sorry. I have no idea which forum to use.. thanx.. | |
Please HELP Me!!! I want to directly pass the value of a javascript variable into php variable... I used this code below but it doesn't work.. Can anyone teach me how to do it?? PLEASE.. Thank you so much in advance.. Here's my code: [code] <script type="text/javascript"> var a = … | |
I'm struggling very hard to get this to work and I don't know what I'm doing wrong. I have a register page that I want to take the data inserted into the form and INSERT it to the database with jQuery and AJAX. I'm not very experienced with AJAX AND … | |
We have a web based application in which users can give orders to their supplier. This process consists of login to the application, selecting supplier, get the products for the supplier, and select the products, key in order delivery date and comments. This process has 4, 5 steps (4, 5 … | |
I hope this hasn't been discussed before. I searched but couldn't find a thread for this. I have an input (type="text") with some default text telling the user to enter something in the box. The input tag includes an onmousedown event which runs javascript function to clear the default text … | |
This is portion of my index.html [CODE] <script type="text/javascript"> function callPortion() { var xmlhttp; if (window.XMLHttpRequest) {// code for IE7+, Firefox, Chrome, Opera, Safari xmlhttp=new XMLHttpRequest(); } else {// code for IE6, IE5 xmlhttp=new ActiveXObject("Microsoft.XMLHTTP"); } xmlhttp.onreadystatechange=function() { if (xmlhttp.readyState==4 && xmlhttp.status==200) { document.getElementById("main").innerHTML=xmlhttp.responseText; } } xmlhttp.open("GET","welcome.php",true); xmlhttp.send(); } </script> … | |
Hi. I'm making a form with some fields. Once the form is submitted it updates the page with a new div containing the data entered without refreshing. Im using jquery form plugin. What I'd like to achieve is the new div(.record) to .slideDown. I guess I need to somehow specify … |
The End.