Hey,
I'm creating a small jQuery plugin for my CMS that styles certain form input types (just radio, checkbox at the moment). It works by hiding the original form element and placing a normal HTML element (for styling with CSS) in the input's place. It then detects actions on the element and updates the original input accordingly. Additi...
Hi, I have a problem with retrieving attribute values via E4x in javascript.
Suppose a list of XML nodes like the following as the XMLObject:
<node att1="value1" att2="value2" att3="value3" att4="value4">
<nodeChild><!CDATA[/* ... */]></nodeChild>
/* more node childs */
</node>
I properly accessed the nodes (in a loop) and i...
Hi,
I am learning AJAX and I wanna know the difference between the request.status and request.statusCode functions.
for example:
document.getElementById('erroDv').innerHTML = request.status;
document.getElementById('erroDv').innerHTML = request.statusCode;
Thanks in advance!
Dwarak
...
Hi,
I'm using the CKeditor and I need to be able to impose a maxLength restriction on it.
For instance, prevent user from entering more than 100 characters, excluding the html characters
applied by the user.
Has anyone been able to do this?
Thanks, I'd appreciate if you point me towards a resource. I found similar questions here but th...
Hello,
i was wondering is exist a jQuery plugin for making items in intput text. I mean for example if you write message in Outlook and in recipients line you enter 2 contacs - when you pres backspace you delete whole email address. Not only first word like in normal textbox.
It there any solution to do this in jQuery?
Thanks!
...
I have a control that i've written that has a javascript component and a web service component. The problem i'm having is that the javascript is set to do:
setInterval(this._checkAlertsHandler, this._messageCheckInterval * 1000);
This calls a function which makes a webservice call like so:
Alert.SiteAlertService.GetAlerts(this._rece...
Hey guys, im trying to create some custom templated widgets with dijit.layout objects (BorderContainer, ContentPane) in the template, and i just can't get it to work. Maybe SO can steer me in the right direction... here's my code so far:
test.html
<html>
<head>
<title>Test Page</title>
<style type="text/css">
@import "http:...
Is there a way to call code behind function with Javascript that is in another aspx page's code behind?
...
Hey everyone.
My question is simple..
I have a grid of images on the left, and on the right, I have a "slider box".
When I hover over an image on the grid, I want the slider box to move to the Y position of the image I've hovered over, so they line up horizontally. What would be the best way to achieve this?
...
Hello,
I am using WHMCS cart system which has encoded php files.
WHMCS handles all my order processing as follow.
STEP 1 : I look for the product and add to cart.
STEP 2 : Here I configure added product for addons & all.
But here is problem - Sometimes due to slow connection speed Or network/server unavailability browsers show "SERV...
Is there a way to disable the same origin policy on Google's Chrome browser? This is strictly for development, not production, use.
...
Continuing from my earlier question, how can I combine the month, day, and year <select>s into a single "date" value, so that it arrives at my PHP script as
$_POST['date'], in MySQL format YYYY-MM-DD?
...
Hello,
Consider variable like
var url='http://www.example.com/index.php?id=ss';
or
var url='http://www.example.com/dir1/dir2/index.php';
In these variables, i want to get only the domain part i.e http://www.example.com, stripping out other texts. Is this possible in ordinary javascript or jquery ?
Please help
...
I need to link to a page that uses javascript to create the appearance of different pages. Each of the links on the page I am pointing to calls a javascript function that produces the "new" page. So, if I just link to the page, I get the default configuration. But what I need to link to is a particular configuration after the js functi...
I have a form that I need to submit automatically... (the fields are already filled and its complicated to explain why but it IS necessary to do it this way)..
I know how to autosubmit the form using Javascript but the only problem I have is that there is more than 1 submit button.. and I need 1 in particular to be submitted...
thanks in...
Hi everyone,
I'm using FullCalendar and just wanted to know how I can check for overlap date and time. I have a start and an end date but dont know how I can accomplish this. Any suggestion/ideas/inputs would be helpful.
Regards,
Yuepheng
...
Hi Guys,
Is there any library to handle easily Xml with Prototype or Mootools?
...
The following statement in JavaScript works as expected:
var s1 = s2.replace(/ /gi, '_'); //replace all spaces by the character _
However, to replace all occurrences of the character . by the character _, I have:
var s1 = s2.replace(/./gi, '_');
But the result is a string entirely filled with the character _
Why and how to replace...
I'm working in a Repeater over blog posts and I'm displaying a ShareThis JavaScript piece at the bottom. The Title and URL of the post are being sent to JS. In one test case, the title of a post has a single quote, e.g.
Mark's test post
Since I need to preserve that single quote when being sent to ShareThis, I need to wrap that Jav...
I have a Content Management System where I'm using CKEditor to edit content loaded from a hidden form field on the page. When you click an edit button, CKEditor appears in a lightbox with the content inside. I'm using CKEditor 3.3, Lightbox_Me (http://buckwilson.me/lightboxme/), and jQuery 1.4.2
The code mostly works fine, however when ...