15,688 Topics

Member Avatar for
Member Avatar for Dimonai

Hi everyone, I'm working in a project where its required a dynamic insertion of a grup of 3 textfields where one hiels dates. So far I manage to do the insertion part, but Im still with the problem of jquery datepicker only working right on the first(original) textfield. I notice …

Member Avatar for Dimonai
0
905
Member Avatar for Manuelphp

<!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>Webpage</title> <link href="page.css" rel="stylesheet" type="text/css" media="screen" /> <script src="SpryAssets/SpryMenuBar.js" type="text/javascript"></script> <link href="SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css" /> <link href="test.css" rel="stylesheet" type="text/css"/> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.5/jquery.min.js"></script> <script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js"></script> <script type="text/javascript" src="date_ime.js"></script> <link rel="stylesheet" media="screen, print, handheld" type="text/css" href="calendar.css" /> …

Member Avatar for LastMitch
0
193
Member Avatar for tanmay.majumdar2

hey, fellas.. I was gonna make a simple website.. Which somehow explains you about the readystate exchange,. But i am not getting the desired ouput. Please help me out.. I am ginna upload the codes, of the javascript and the html file.. the javascript file {a.js}: http://codeviewer.org/view/code:33b6 _______________________________________________________________ the html …

Member Avatar for LastMitch
0
199
Member Avatar for scarcella

can someone please tell me where im going wrong here? window.indexedDB = window.indexedDB || window.webkitIndexedDB || window.mozIndexedDB; if ('webkitIndexedDB' in window) { window.IDBTransaction = window.webkitIDBTransaction; window.IDBKeyRange = window.webkitIDBKeyRange; } var VULY_DB = {}; VULY_DB = {}; VULY_DB.db = null; VULY_DB.onerror = function(e) { console.log(e); }; VULY_DB.open = function() { var …

Member Avatar for LastMitch
0
238
Member Avatar for jenny1975

I have two array's Array1[1,3,5,7,4,0,8] Array2[1,5,8,3,4,2,9] What I would like to achieve is an output count = 3( three of the numbers 3,5,8 from Array2 are in Array1 but in the wrong place) using Math.min. Can someone explain this process to me please. Thank you

Member Avatar for dilan91
0
171
Member Avatar for Zagga

Hi folks, It's a bit unusual for me to post in the javascript forum but I'm after a bit of assistance if possible. **The scenario:** I have a form with text input box for a user to enter a 'quantity' in. This can be anything from 1 to 99. When …

Member Avatar for Zagga
0
192
Member Avatar for MattD00

I have set up a cookie in JavaScript to store the change to the stylesheet. The cookie is loaded using <body onload="set_style_from_cookie()"> This cookie was working fine until I set a session cookie in PHP to verity if a user was logged in session_start(); if(isset($_SESSION['username'])) { $user = $_SESSION['username']; } …

Member Avatar for riahc3
0
342
Member Avatar for webdevstudent

Which jQuery effect rotate image like in the picture I have uploaded. I saw the effect few months ago but dnt know what do we call it. Can anybody please help? Or any other plugin that will add random effects to images?

Member Avatar for webdevstudent
0
106
Member Avatar for solomon_13000

I have a form to submit the details as below: <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html><head> <meta content="text/html; charset=ISO-8859-1" http-equiv="content-type"><title>Activate</title> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js?ver=3.0.1"> </script> <script type="text/javascript" src="js/activate.js"> </script> </head> <body> <form method="post" name="form"> <table style="text-align: left; width: 789px; height: 715px;" border="0" cellpadding="2" cellspacing="2"> <tbody> <tr> <td style="width: 305px;"> …

Member Avatar for paulkd
0
264
Member Avatar for eburlea

Hi all. I have a grid table and I need to set globally 2 kind of values for **emptyrecords**: 1. 'Nothing to display from the DB' -> if no data is retrieved from mysql 2. 'No data matches the search' -> after using search and nothing matched. Till now I …

Member Avatar for paulkd
0
152
Member Avatar for jenny1975

I have 2 arrays that I need to compare against each other and retun the count of the same: ex: array1[abcd] array2 [adce] return would be 2 as both a and c are in same postion. I would then have to return 2,1 as a and c are in the …

Member Avatar for |-|x
0
185
Member Avatar for hiyatran

Here's my code (It doesn't work): var c=document.getElementById("myCanvas"); var ctx=c.getContext("2d"); function Shape(){}; Shape.prototype.Circle = function(){ // Some code here }; Shape.prototype.Square = function(){ // Some code here }; MainMenu.prototype = new Shape(); var MainMenu = function(ctx){ this.draw{ this.Circle(); this.Square(); } } What I want to do is to call the …

Member Avatar for Troy III
-1
88
Member Avatar for brainfo

Hello all, I am having problem with jquery hover action. When ever i refresh a page the hover action is working but whenever i click on any tab (category tab section) hover action is failed. I am tired of finding solution on google. Please help me. The site url is …

Member Avatar for pixelsoul
0
173
Member Avatar for seju

hello...help me rapidly.. query is that.. when we select the mail from the select tag and then automatically display the two text box like user name and contact no.. how i do this...? but remeber it that without use button....i hope as soon as i vl get my perfect ans...

Member Avatar for arundhati dalal
0
226
Member Avatar for turpentyne

This script is set to run automatically. The syntax is stuff I'm not used to. How can I change this script to run at a later point? Such as when an image loads. Or another delayed point from when the page it's on is loaded in with ajax. Like this, …

Member Avatar for turpentyne
0
226
Member Avatar for code_rum

I have some div's one after another. When i click anywhere the first div hides and other div's shifts to fill the empty space. But the movement of other div which aren't hidden are not satisfying as it takes the place but not smoothly. I have no idea as how …

Member Avatar for code_rum
0
295
Member Avatar for furalise

Hello everyone.. I'm trying to work out how to install and use Jquery.jqplot in google chrome. I have no idea how to go about this.. I have downloaded jquery.jqplot but not sure what to do next. Does anyone know how to install this, or include this? Does it go in …

Member Avatar for furalise
0
122
Member Avatar for turpentyne

A problem's come back to haunt me, after reworking the page for other features. I have a page with a caroufredsel script in it to show a rotating slideshow. The page works fine on it's own. But I need it to work when loaded into an existing page. I get …

Member Avatar for turpentyne
0
113
Member Avatar for turpentyne

I'm trying to work in a script to fade out a div, load content and fade the div back in. But when the navigation links are clicked, the div fades out, then is completely removed from the DOM?? Here's the html: <head> <link rel="stylesheet" href="css/styles_default.css" type="text/css" media="screen"/> <link rel="stylesheet" type="text/css" …

Member Avatar for iamthwee
0
329
Member Avatar for solomon_13000

I attempted to implement image rotation using google jquery library. The problem is that the image rotation stops at 5.jpg and doesn't go back to 1.jpg to 2.jpg.........and so on. Did I miss out something? <html> <head> <title></title> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js?ver=3.0.1"> </script> <script type="text/javascript" src="js/img-rotator.js"> </script> <link rel="stylesheet" href="css/style.css" type="text/css" …

Member Avatar for paulkd
0
317
Member Avatar for tanmay.majumdar2

Hey, fellas. I have just started LEARNING AJAX. I am having prblems in the first website only. So this website is like a restaurant menu, which tells you the avaible food. With respect to the user's query. But its not displaying the end result. As i think, it is not …

Member Avatar for tanmay.majumdar2
0
206
Member Avatar for azegurb

Hi all, I have taken from net drop down menu script my web page is medistyle.az. It works perfectly but when i look up code i cannot understand one thing there below is code (js. file) var menu=function(){ var t=15,z=50,s=6,a; function dd(n){this.n=n; this.h=[]; this.c=[]} dd.prototype.init=function(p,c){ a=c; var w=document.getElementById(p), s=w.getElementsByTagName('ul'), l=s.length, …

Member Avatar for azegurb
0
163
Member Avatar for spyece

Hello, I want to click the skip ad buttom when the buttom appears, can someone please explain me how this can be done using jquery? Here is the Code <!DOCTYPE html> <html> <body style="margin:0px;padding:0px;"> <iframe src="http://bc.vc/7VsNj6" style="width:100%; height:100%; border:none;" id="frame"> <p>Your browser does not support iframes.</p> </iframe> </body> </html> Thanks …

Member Avatar for minitauros
-1
324
Member Avatar for Techie08

I'm trying to build a [quiz](http://www.fedtech.com/Cutting-Quiz) that takes the answers given and when you hit submit, it totals the number of items in each category and sends you to a specified page... It's basically perfect except one thing... it doesnt take you to a page when the totals are added …

Member Avatar for hdas2012
0
335
Member Avatar for turpentyne

For the sake of learning, I'm just curious how I can simplify these functions? Open to any suggestions... Please forgive all the over-commenting. $(document).ready(function() { // code for random backgorund image on page load $("#full-size-background").css("background-image", "url(images/backgrounds/" + Math.floor(Math.random()*3) + ".jpg)"); // starting point fade when "menu" clicked $("#starting_point_link").on("click", function(){ $('#starting_point, …

Member Avatar for Troy III
0
242
Member Avatar for vijayram

How to change the following code for javascript to php code plz help me. <form> <select onChange="updatecalendar(this.options)"> <script type="text/javascript"> var themonths=['January','February','March','April','May','June', 'July','August','September','October','November','December'] var todaydate=new Date() var curmonth=todaydate.getMonth()+1 //get current month (1-12) var curyear=todaydate.getFullYear() //get current year function updatecalendar(theselection){ var themonth=parseInt(theselection[theselection.selectedIndex].value)+1 var calendarstr=buildCal(themonth, curyear, "main", "month", "daysofweek", "days", 0) if (document.getElementById) …

Member Avatar for diafol
0
3K
Member Avatar for rouse

I am having problems accessing what for me is a complex JSON object. I successfully interrogated the Open Weather API and received a good response. What I am not accessing, and don’t know how to, is the individual items of the weather portion of the list group while in a …

Member Avatar for rouse
0
252
Member Avatar for andi.andiiimintoyouu

html <div class="example2"> <p>This is some text This is some textThis is some textThis is some textThis is some text This is some textThis is some textThis is some textThis is some textThis is some text</p> </div> Css .button{ -moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px; -moz-box-shadow:0 1px 1px rgba(0, 0, 0, 0.2);-webkit-box-shadow:0 1px 1px rgba(0, …

Member Avatar for code_rum
0
260
Member Avatar for McLaren

Hello, there is a function which saves and sends post request: save_car: function(e) { if (e.keyCode != 13) return; if (!this.brand.val()) return; Cars.create({brand: this.brand.val(), color: this.color.val(), max_speed: this.max_speed.val() }); this.brand.val(''); this.color.val(''); this.max_speed.val(''); }, Request URL:http://localhost/backbone/car_list/backend/index.php/welcome/index Request Method:POST Status Code:200 OK Request Headersview source Accept:application/json, text/javascript, */*; q=0.01 Accept-Charset:ISO-8859-1,utf-8;q=0.7,*;q=0.3 Accept-Encoding:gzip,deflate,sdch Accept-Language:en,lt;q=0.8,en-US;q=0.6,ru;q=0.4,pl;q=0.2 …

Member Avatar for McLaren
0
254
Member Avatar for PF2G

Hi, I'm creating a mentionInput, a textarea where i can identify people writing "@NAME" (like facebook) I have a this js file where i tell the info of the names i can identify: $(function () { $('textarea.mention').mentionsInput({ onDataRequest:function (mode, query, callback) { var data = [ { id:1, name:'Kenneth Auchenberg', …

Member Avatar for LastMitch
0
384

The End.