Javascript: object expected on line 1 char 2
http://pastie.org/856698 Anyone have any idea why the script is causing this error? ...
http://pastie.org/856698 Anyone have any idea why the script is causing this error? ...
I'm currently implementing a HTML canvas based webapp that features panning. Is there a way to use an auxiliary buffer to hold the presently visible area so when I pan I don't have to redraw the whole canvas and only have to draw the newly visible areas? ...
http://pastie.org/856698 Anyone have any idea why the script is causing this error? It doesn't throw an error in Firefox, only IE. Any ideas? A link to the final script can be found at http://www.proskimboarding.com/codingtest/Public/registration.php ...
Hi Everyone! I'm about to ask a tough question, and I apologize in advance for the fact that I'm a n00b at javascript! Basically I am looking to integrate MailChimp list signup into the WP E-Commerce plugin. If I understand correctly, this could be accomplished with Javascript where I send the data to two separate locations. I fo...
I try to write a simple user script to enlarge the picture when you mouse-hover it :) ( like facebook fixer, but his code is somehow too difficult for me to understand ) I don't really know how to get the real image link of profile with the thumbnail :) Real: http://profile.ak.fbcdn.net/v228/662/62/n1734060381_260.jpg Thumbnail: http://...
So, I read the W3C validation FAQ about why some javascript causes validation errors but didn't seem to find an answer regarding my problem. If you try to validate http://www.proskimboarding.com/codingtest/Public/registration.php you'll receive a bunch of errors within the javascript code... anyone know of a solution for this? (mainly ...
The form is defined as: <%@ Page Language="C#" MasterPageFile="~/MasterPage1.Master" AutoEventWireup="true" CodeBehind="Search.aspx.cs" Inherits="Invoices.Search" Title="Search Page" %> <%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %> <asp:Content ID="Content1" ContentPlaceHolderID="head" ...
I feel like there's a simple solution to this, but I'm not really sure how to phrase it in a search, so here we go... I have a forum-like display that shows a block of text with a user image, user name, and time stamp appended to the end of the text. Many times, part of the appended section gets dropped to a new line. This is especially...
Hi I have a list of textboxes created dynamically accroding to the user selection on aspx page. I want to get and store into an array the value of these using Jquery, javascript. how can i do that? is it possible to loop through all the textboxes in a page? Thanks ...
This javascript code does not work in IE8, but works in Firefox and Google Chrome: <% content_for :head do %> <script type="text/javascript"> document.observe("dom:loaded", function(){ // Observe toggler $('toggle_all').observe('change', function(){ var toggle = $('toggle_all').checked; $$('.check_boxes...
So I've got an issue with a Google map using custom tiles, but I've managed to simplify it to the example below. Taking the simple example Google provide with controls I've added the line map.enableScrollWheelZoom(); This gives me the simple HTML: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1...
I need some suggestions on how to start off with this one. My end goal is to make some visually striking wheel that can revolve a set of pictures and stop randomly at some picture and display some text in the center of the wheel. With the number of AJAX libraries out there, I am pretty sure someone must have done something similar. Does ...
Question 1: Given <input type="radio" name="foo" value="1" /> <input type="radio" name="foo" value="2" /> <input type="radio" name="foo" value="3" /> In Mootools, how do I return "2" given an input of "foo", assuming that the second radio button was clicked. Question 2: (it's related)- Given similar checkbox inputs, how do I retur...
$(document).ready(function(){ var randomId = "id_"+Math.floor(Math.random()*1000); var wrap1 = $(document.createElement('div')).css('overflow', 'auto') .width(50).height(30).css('border','1px solid black').text('a') .attr('id',randomId); var content1 = $(document.createElement('div')).width(100) .text...
i have the following divs: <div id="scrollable"> <div class="item">item 1</div> <div class="item">item 2</div> </div> I'm attaching event handlers to the #scrollable div - mouseover, mousedown mouseup in order to implement a scrolling effect with the mouse dragging the div. the problem is that i get mouseout for the #scrollabl...
I am running a loop, and I am trying to create a variable each time the loop runs with the number of the counter appended to the end of the variable name. Here's my code: var counter = 1; while(counter < 4) { var name+counter = 5; counter++; } So after the loop runs there should be 3 variables named name1, name2, and name3. How c...
I want link to tutorial for JQuery and ExtJs which will cover following contents or Topics Note: PLease do not provide me link of their sites i know them. How to setup both of the packages. It is required as its essential. How to access a DIV element How to get all the elements in a div like checkboxes, radio buttons, div etc H...
Hi, I need to show a page of contents inside my page. ie; when i click on a link it will show 2 paragraphs inside a div as popup in the same page. that popup must have a close button in it to close that div popup. Is any one have an idea or code to help me in this Thanks. ...
This code should i place this code at bottom of body it's in conditional comment. <!--[if lt IE 7]> <script src="http://ie7-js.googlecode.com/svn/version/2.1(beta2)/IE7.js"></script> <![endif]--> ...
I have the following problem: <script type="text/javascript"> alert("1. ČĆŽŠĐčćžšđ"); </script> <script type="text/javascript" src="Tst.js"></script> <script type="text/javascript"> var pScript = document.createElement("script"); pScript.type = "text/javascript"; pScript.src = "Tst.js"; pScript.charset = "windows-1250"; $("body"...