Ajax & Other Client Technology Experiences?

Mar 24, 2006

We have a Java and JSP environment and are looking at options for
the client, such as using Ajax. It would be especially interesting to
get comparisons (e.g., pros and cons) with applets or other approaches.

View 1 Replies


ADVERTISEMENT

AJAX :: Parsing A String Returned With Technology?

Dec 6, 2009

Through an AJAX implementation, I am receiving a SQL Query result that has:An object's attribute delimited by a comma.An entire object (database row) delimited by a colon.This is an example response to make it more clear for you.

1,Jeremy,130,80;2,Lauren,370,300;3,Jeancarlos,200,200;4,Luke,330,70;5,Bloom,392,108;

What I am trying to achieve is placing all of this data into an array. I've set up a little test bed to try and get this to work; this is all I have so far:

var testString = "1,Jeremy,130,80;2,Lauren,370,300;3,Jeancarlos,200,200;4,Luke,330,70;5,Bloom,392,108";
var testArray = new Array();
testArray = testString.split(";");[code]....

get a multi-dimensional array that has information for each person. Example:

FinalArray[0][0] = 1
FinalArray[0][1] = Jeremy
FinalArray[0][2] = 130

View 6 Replies View Related

PaxJavaScript And LISPPA Technology

Jul 23, 2005

LISPPA (List Processing based on the Polymorphic Arrays) technology is a way
to process dynamic data structures (lists, trees and more) without using
pointers. LISPPA uses polymorphic arrays as a base of the data
representation.

A very important example of polymorphic arrays is the variant arrays in such
languages as Visual Basic, Object Pascal (Delphi) and other. The current
implementation of LISPPA has been created on the base of extension of the
ariant type. All languages of the paxScript scripting engine: paxPascal,
paxBasic, paxC, paxJavaScript support LISPPA. Code:

View 2 Replies View Related

Ajax :: Cache Response Into Client Browser?

Dec 29, 2010

Hint me about an easy and clear way to cache ajax response into client browser WITHOUT using the JQuery? I am unable to find that on google.

I have a page that is loaded using AJAX and it takes long time to load every time (approximately 28 seconds), so I need to cache it to reduce the time. I tried the stored procedure for database, but it did not give me good result, so I want to try the caching.

View 6 Replies View Related

Ajax :: Client Object Method Invoking With Parameter?

Dec 14, 2010

Inside client control I generate a button, with script to run.I want to call object's Print() method when this button is clicked, the result value must be passed to Print() as well.How can I do that?This is my object:

Type.registerNamespace("CustomControls");
CustomControls.FirstObj = function(element) {
CustomControls.FirstObj.initializeBase(this, [element]);[code]....

View 1 Replies View Related

Jquery :: Ajax Returning Values From Server To Client?

May 27, 2011

I'm doing some jquery and ajax work with C# asp.net MVC on the server.

I have this JS function:

function DeleteListing(receiptItemId){
$.ajax({
url: "DeleteListing",
type: "POST",

[Code].....

What I'm wondering is there ways to return values from DeleteListing on the server to the success function?

View 4 Replies View Related

JQuery :: Ajax Or Not - Load All The Client's Data Of The Selected Week?

Oct 4, 2010

I am developping an interface that allows to manage bookings for a selected week. You can add, delete, view a booking. When you open a client's booking, I could fetch the id from some div, call an ajax request, and load the booking's data in some dialog (client's data, booking info (date, hour, description, ..)). I don't wish to forward the manager to another page (another request).

But another option, would be to load all the client's data of the selected week (may be up to 100) into a hidden div, and when the manager wants to view a booking, I may just fetch the data from that hidden div. It's much faster, there's no ajax. However, the problems is that there will be a lot of HTML, and I guess the page will be slower to parse; I need a (very) fast page rendering (it's already pretty loaded as it's an application). A solution would be to load asynchronously that data in the hidden div, so the page may render fast, but I don't know how to achieve this. No server request (ajax) is needed as I have the data, but don't want to put it directly into the page, it will slow it down, but to insert the data after the page rendering. Like an ajax without server request ...

View 2 Replies View Related

JQuery :: Show Server Side Process On The Client Using Ajax?

Feb 22, 2010

My login to the site is being processed using ajax, which does a redirect to the members page upon succesfull loggin in.The login feature however can in fact take a while because we need to initialise quite some data when a user logs in (his details, but also his privileges are loaded, his personal menu based on these privileges are being loaded, we are loading shopping cart info, we are initialising personalisation settings, and a whole lot more.It sounds like a big thing, but it isn't, and once logged in, the application is going great. the only thing is that the login proceure can take 3 - 4 seconds, and I would like to be able to show the client the progress of the serverside script:

"Searching your account..."
"Validating your privileges"
"Initialising your personal menu"
blablabla...

To do this, I might just call an ajax call that starts the login procedure, and then issue another ajax call every 1 second or so to update the status based on some session variables I set in the login procedure and that I can serve to the client when th next ajax calls come in, but I would love for this to work a little nicer as in just needing to initialise ONE ajax call which can send back statusupdates from the server...

View 1 Replies View Related

AJAX :: In Gmail And Other Services - Uploads All The JS Files Into Client's Machine?

Nov 8, 2010

in Gmail (I've noticed it in other services too..)after you log in, progress bar appears. What does it do? Uploads all the JS(containing ajax) files into client's machine? or what?

View 1 Replies View Related

Ajax :: Combobox Autocomplete - When The Client Types On The Drop Down, The Records Appear From MySQL Database?

Apr 14, 2010

I am looking for an Ajax combobox (drop down, not a text box) auto complete script. I searched for it on Google and only result which seems similar to what I am looking for, is dhtmlxCombo. And that one is too complicated for me. What I basicly need is:

When the client types on the drop down, the records appear from MySQL database and when the client chooses one and submits the form, I want the ID (not the text written) to be posted.

View 1 Replies View Related

Correct Method For Passing Named Values From A Client Back To The Next Client Screen ?

Nov 22, 2010

What is the correct method for passing named values from a client back to the next client screen without sticking the info as an url query string?

View 3 Replies View Related

Ajax :: Client Side Form Validation - Form Won't Submit

Feb 13, 2011

I've literally tried everything. Read 26 tutorials, interchanged code, etc. My validation functions all work. My AJAX functions work (tested manually using servlet URL's). The second servlet validates the reCaptcha form that's generated on my webpage. After the form is validated, even if everything's correct, nothing happens upon clicking submit. I even have an alert pop up if with the captcha result, just for middle-layer debugging purposes.

I want to do all of my validation clientside; none serverside. However, going to be tough if I can't get my god damn form to submit. I've been puzzled by this for close to 36 hours straight. I can't see, and I'm going to get some rest and hope that there is some useful insight on my problem when I return.

[Code]...

View 9 Replies View Related

Get Client IP From Behind A Firewall?

Jul 23, 2005

I would like to get a web client's IP where the client is behind a firewall.
I googled but hasn't found any solution with javascript that work's. There
seems to be a java applet that can do this, but i would like the applet to
put it into a "hidden" tag or into a textbox on the HTML page, so when the
user clicks "OK" it will be posted to my PHP script.

View 5 Replies View Related

How To Get Client IP Address?

Jul 23, 2005

How can I get the client's IP address from within an HTML page using embedded JS? Code:

View 8 Replies View Related

Js Xml At Client Side

Jul 31, 2006

In my html page i've to show a grid with some data retrieved from an xml file ... i need to this beacuse i've to use online, on a webserver and offline
with all files on a usb key, cd, etc ...

which is the best way to accomplish this?

I suppose a solution it could be via javascript:

-locally open the xml file that contains the data e then render then grid. Now i wornder about the best way to do this ... i've read about xsl transofrmation and so on ... if it's possible i'h to achieve this with a cross-browser solution!

View 1 Replies View Related

Add Js Client Side

Jul 20, 2005

Is it possible to add a js function to a loaded web page on the client side?
E.g. IE is viewing google, can I add a javascript function to that instance
of IE viewing google? I am trying to hook browser events such as button
clicks and get information such as edit field text.

View 4 Replies View Related

Detecting 64-bit Windows Client

Jul 23, 2005

Can I rely on the following code to accurately detect a Windows 64-bit client?

var bWin64 = navigator.platform=="win64";

View 1 Replies View Related

Calculating Client IP Address

Jul 23, 2005

I want to create a link that a user can click which will create a popup
telling the user their ip address. I have:

var ip = new java.net.InetAddress.getLocalHost().toString();
alert("Your IP address is: " + ip.substring(ip.indexOf("/")+1))

but this does not seem to work. It says the ip is 127.0.0.1. Strangely,
this piece of code used to work but all of a sudden it doesn't for some
unknown reason. Can anyone tell me what's wrong with the above code?

View 3 Replies View Related

Client's IP Address Retrival

Jul 29, 2005

I want to know about a method for detecting client's IP which is running behind a proxy server.
Is there any possible way in Javascript to get the IP address of the client's machine which is using proxy.

View 10 Replies View Related

Server To Client Script

Nov 23, 2006

How can I get a server value into client event?

Or is there another way around my problem?

I have a ASP page that need to get the server IP
(Request.ServerVariables("LOCAL_ADDR")) to open a new asp page

this is some of my HTML that I want to work. Code:

View 2 Replies View Related

How To Detect Client Language?

Jul 20, 2005

Is there an easy way to detect the local language settings of a client
browser or system?

I want to for example determine if the users browser or system is set to
English, French, or Italian and display a message in the appropriate
language.

View 5 Replies View Related

File Size On Client?

Dec 16, 2000

I know there are restrictions on the client side in this regard, but thought I would ask. Can you determine a files size on the client? I purchased one of those upload to server applications. But I do not want to send large files. Their application only allows me check the side after sending the file to the server (after the fact). I need to know the size before hand. Just like validating text in a textbox before submission, I want to check the file size on the client before submission. Is there any way to do this on the client?

View 1 Replies View Related

Get Client Mac Address With Javascript

Nov 29, 2005

How can i get client mac address OR hdd id with javascript for internet explorer?

View 6 Replies View Related

Client Says Popups Are Not Working?

May 27, 2009

I have tested the thumbnail images that link to a popup detail page and they seem to work fine in Safari and Firefox on a mac and in IE on Windows (not sure which version of IE, I was using the PC at a UPS Store). Why does my client insist that they do not work? Any javascript issues with my code? I know it is a bit old since it was created a few years ago but I even got it to work on my iPhone today.

Here is the link: [URL]

View 1 Replies View Related

Client Closed The Window

Jul 14, 2005

How can I get with JavaScript that the client has closed the window?

View 5 Replies View Related

Get Client Local Timezone And Use It In PHP?

Sep 29, 2011

My php script has an input date (example: 2011-09-30) but if I use the server date then it may not match to client's machine.

But how do I get the client's local timezone then pass it to php and convert ?

View 6 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved