When visitors register on my site, they will do so as the founding member of a group or as a person joining an existing group. Nobody is "group-less." I have a single registration page with the following fields: first name, last name, (radio buttons to choose group type: New or Existing), group name, group password, email, pass, confirm...
In PHP, in a particular CMS I am using a custom field, which works like google suggest.
As in, for each letter I type an SQL query is performed and matching records are displayed. When clicking on a record it fills the field with that record.
I am fairly certain this is all done with JavaScript.
I need to know how I can access the res...
So I have this weird problem with jquery doing a ajax post with a ruby object. I have 2 options.
1. $('form_id'}.serialize(). I know this works. But my form simply has too many fields, and it is a little too inconvenient to manage them in the form
2. Second option, the rails controller is constructing a ruby object along the way as the f...
Okay, so pretty much I'm banging my head up against a wall right now. I'm making a form that is spread across three tabs. Basically you would select an employee at the right and their information would be populated to the left in three tabs. Each tab has a different form.
I am working with coldfusion and I tried using CFLAYOUT + CFDIV,...
So essentially this project builds a portal of testing results from various test types. The fetching and display of results is fine; however, the resulting tables are not being displayed in the correct order. The order they're displayed in is random, but it's clearly specified the order in which the RPC calls are dispatched and I even ...
i tried to make an cross domain ajax call with native javascript and it works with out any jsonp techniques, i am wondering how it is possible . i read that cross domain ajax calls cannot be made due to security risk
<html>
<head>
<script type="text/javascript">
function loadXMLDoc()
{
url=document.getElementById('url_data').value;...
The jQuery History Plugin (http://www.mikage.to/jquery/jquery_history.html) is said to work with Chrome:
http://github.com/tkyk/jquery-history-plugin
Supported Browsers IE6, IE7, IE8,
Firefox3, Safari4, Safari5, Chrome4,
and Chrome5
but then when i go to the top link mentioned above, if I click on load 1, load 2, and then ...
Hi,
This is going to be a meaty question because I am not sure the best way to handle this.
I have a page that contains a number of dojo inline editors, to allow users to change values, when one entry had been changes a save button will appear to prompt the user to save the information.
The page has a number of rows, contained within ...
Using Really Simple History http://code.google.com/p/reallysimplehistory/
When I use the following code,
<body>
<a href="#abc">abc</a>
<a href="#abcd">abcd</a>
<a href="#page=3&cat=4">page=3 cat=4</a>
<a href="#page=3&cat=5">page=3 cat=5</a>
<a href="#page=22&cat=33">page=22 cat=33</a>
<script type="text/javascript" src="json2007.js"...
Hi all, first time poster. Please be gentle.
This topic may be similar to several other questions out there, but as far as I can see this is a unique problem I'm trying to solve. FWIW, I'm primarily a designer; I'm dangerous with Flash and HTML and CSS, but a bit in the weeds with everything else. From searching around, I appear to be...
Using this code:
var pendingRequest = new Ajax.Request(myUrl, {
method: 'post',
postBody: soapMsg,
contentType: "text/xml",
onSuccess: function(transport) {
doSomething(transport);
},
onFailure: function(t) {
...
Ajaxify is quite a well known jQuery plugin. But I just used Chrome and try this page:
http://max.jsrhost.com/ajaxify/demo.php
for the New v2 features: History & Bookmarking. When I click on Link 1, 2, and 3, and click the back button on Chrome, the content is not refreshed. So for now, this feature doesn't work on Chrome? Is it be...
Guys i have a little problem when i submit my form the page gets redirected to the result, instead of staying on the same page. On the server-side i have a PHP that spits an simple status codes like this:
echo '<span>Success/Error</span>';
exit;
and this is my request:
jQuery.ajax({
type: "POST",
url: "ajax.php",
data: dataStr...
I am using phpBMS, and have made a form, similar to the sample provided.
Using the provided input fields, I have made a basic dropdown list containing two items, and a checkbox.
I want the checkbox to be selected automatically when one of the options from the dropdown box is selected.
Jens F, provided me with a solution to how I shoul...
I am trying out a basic AJAX/php test. I have a form with two input text fields where I type in two values and an output text field where, when I push a button, the input fields are concatenated together and output to the third text field. I am doing this via AJAX/PHP. I get the concatenated value output to the third field, but there ...
Give the following Ajax call in jQuery:
{
.
.
.
,
getSomeData: function(args, myUrl, foo) {
$.ajax( {
type: "GET",
url: myUrl,
data: args,
async: true,
dataType: 'json',
success: myHandler
});
},
myHandler: function (data, textStatus, oHTTP, foo){ .....
I am loading a page into a div via the jquery load function. The actual loading part is fine. The code looks basically like this:
$("div#loadhere").load("newfile.html?" + new Date().getTime());
In newfile.html I have a series of divs, and I have code that (for testing) sends an alert when a div is clicked. That's fine too.
The proble...
I've just stumbled upon the websockets feature coming in HTML 5, here. At first glance it seems that once Firefox and IE get on board with the spec ajax may be redundant. My question is, in your opinion will ajax (using jquery $.ajax() or even with straight XMLHttpRequest/other) be replaced by this new ws:// protocol?
If so, when shou...
It seems that the success, error, and complete callbacks only fire when the ajax request is able to get some response from the server.
So if I shut down the server the following error callback is not executed and the request fails silently.
$.ajax({
type: "GET",
url: "http://localhost:3000/",
dataType: "script",
success: functi...
I've just tested this and it seems that Ajax requests send the cookie header from the browser to the server each time. Is this a guaranteed behaviour which I can rely on, or is it something which may or may not happen?
...