On Safari 3.2.1, I observe that if a textarea is highlighted as the active control, and an object above it resizes (e.g., an img loads) there are fragments of highlighting left behind after the textarea moves to accommodate the new layout. How to fix this?
...
If I have a STOMP/JSON AJAX app, does that mean that JSON is functioning on top of STOMP?
...
I'm looking to implement an incremental save as you go along using AJAX to post data back to the server.
I am leaning towards JQuery AJAX implementation, but whatever I use I'm wondering how this fits into a three tiered web architecture that uses object datasources.
In the case of incremental saves, do I just need to bypass the object...
I have a form in a PHP sending variables to a PHP file which duly inserts them into a MySQL table.
I currently have a div displaying the response from the PHP (which is anything that is printed by the PHP).
All works fine. The problem is I want to use variables that are created/updated during the PHP MySQL insert process. I.e. not only...
Many web applications today have spreadsheets. I was trying to make a very similar table, but with reduced funcionality:
editable cells
pressing the arrow keys, or would make you go to a cell next to the current one (in the proper direction)
I found ext grid and YUI DataTable, and besides they being editable I haven't found ...
I have read a number of posts about this but none with any solid answer. Here is my code:
// button creation
onew = document.createElement('input');
onew.setAttribute("type", "button");
onew.setAttribute("value", "hosts");
onew.onclick = function(){fnDisplay_Computers("'" + alines[i] + "'"); }; // ie
onew.setAttribute("onclick", "fnDis...
how to?
I tried AutoPostback=false, but clicking on the node still posts the page back. Any ideas?
...
What is the best approach for setting up sequential output for a PHP installer script? Say I have a page, and want to display incremental output within a DIV provided by a PHP script.
So page.html might contain this:
<div id="output">
<!-- Script Output Here -->
</div>
And install.php might look like this (for testing purposes):
...
I am trying to submit a form using Ajax.Updater and have the result of that update a div element in my page.
Everything works great in IE6, FF3, Chrome and Opera. However, In IE7 it sporadically works, but more often than not, it just doesn't seem to do anything.
Here's the javascript:
function testcaseHistoryUpdate(testcase, form) {
...
I have a little problem with the FileUpload and uploadpanels.
As most of you probably knows you cannot use the asp:FileUpload control without forcing a postback. At least not what I know of, let me know if I am wrong.
Now my problem is:
I have a usercontrol with a FileUpload and a button that says "Upload". This UserControl is loaded i...
I've got a bunch of variables being pulled from form ID's before being sent in a query string to a PHP. However, as one input is a checkbox I'm trying to get AJAX to set the variables value according to whether it's checked or not. i.e..
if (document.getElementById('bold').checked) { var bold = "true";
}
else { var bold = "false"; }...
Hi, i'm trying to get this function to work, which does a request for parameter 'url' then sends the responseText to 'callback' which is a function. But it seems that it only gets to readyState 1 (thanks to the firebug commands).
Here it is:
function Request(url, callback){
if (window.XMLHttpRequest) { // Mozilla, Safari, ...
httpR...
Is there a way in AJAX or JS to add further inputs upon a button click?
...
Help, if you can-
The situation:
http://foobar.com includes a remotely hosted javacript file (http://boobar.com/stuff.js).
The goal is to just get an alert from the remotely hosted php script on foobar.com
I have tried the following code in stuff.js:
$.ajax({
type: "GET",
url: "http://www.boobar.com/script.php?callback=?",
dat...
I don't hear much about GWT any more.
When it first came out, it seemed to be all the rave in certain RIA circles.
But lately my impression is that GWT has suffered a dip in popularity because solutions like Jquery/MooTools/Prototype offer a much easier way of solving the same problem.
Is this accurate or does GWT solve a different ty...
Hi all
i'm using Jquery's load() method for reterive some data when user click on button.
Then show the result in . It is ok.
But the problem is i don't know how to catch error in load() when error occure while data reteriving.
Please help me.
Thanks
...
Any one know how can I display the loading progress with completed % on my client side while the system is still getting data in the server side.
For example, when I press 'ok' button in the client side, it will call to server side to collect data from the database, the whole process may take 2 to 3 mins. How can I display the loading p...
I have a an HTML button where I want the onclick to call a PHP function. I need to use AJAX to do this but I am totally lost. There is more that occurs inside the php function, but I didn't see the need of including it. Below is code thus far:
<HTML>
<BODY>
<FORM>
<input text="text" name=airport1 id=airport1 />
<input text="text...
Anyone know what's going wrong with below code? The system will only call the getProgressMsg() after the Ajax is completed :(
function ajax_action(action)
{
setTimeout('getProgressMsg()',2000);
xmlHttp=GetXmlHttpObject();
if (xmlHttp==null)
{
alert ("Browser does not support HTTP Request")
return
}
v...
I have a fairly standard ASP.NET GridView that displays 2 columns that have a parent child relationship. Although the relationship exists in the database between column A and column B, the GridView does not implement it.
I would like to do the following:
When the user has elected to edit the row, 2 dropdown menus become visible. The D...