Hi again,
Nevermind that, it works afterall. My bandwidth and FF were the actual
problem in picking up the modifications i was making to the code.
Cheers, God bless jquery ;p
On Nov 17, 12:52 pm, Adonis wrote:
> Hi,
>
> My confirm pop up window does not pop up using the co
Hi,
My confirm pop up window does not pop up using the code bellow,
*
function initialiseLegendLayerDeletion(project_name, layer_name,
unslug_project_name, unslug_layer_name){
// This function deletes the corresponding layer - ajax deletion
$("#" + layer_name + "_legend_layer_header_delete
ok, problem was the resetForm:true.
Setting it to false fixes the empty values...for now.
cheers,
On Nov 2, 6:46 pm, Adonis wrote:
> well,
> I ll be more specific, here is the code part
>
> **
> $("#image_overlay_group_form").ajaxForm({
>
wrote:
> The .val() should work. I've tried it and it works on FF3.5, IE6+,
> Safari and Chrome (all WinXP).
> The only differences I found is that FF, Safari, Chrome returns just
> the filename, whereas IE6+7 returns the full path of the user file
> (privacy issue), and IE8 uses
hi,
I was wondering if anyone knows a way to get the file name(the one the
user has just browsed and is about to upload using the form) from a
form input.
I tried $("#fileInput").val() but it does not work.
cheers,
ay of looking at it:
>
> var foo = "1";
> $.post( some ajax call that takes 2 seconds to set foo to "99" );
> alert(foo);
>
> that is going to alert "1" each and every time, because JavaScript
> isn't going to "wait" before doin
#x27;s
> something you are missing because when you get back from the async
> call, everything (global variables, page objects) are fully available
> at that point... there's zero need to use setTimeout
>
> On Oct 8, 12:27 pm, Adonis wrote:
>
> > Dan,
>
> &
#x27;s
> something you are missing because when you get back from the async
> call, everything (global variables, page objects) are fully available
> at that point... there's zero need to use setTimeout
>
> On Oct 8, 12:27 pm, Adonis wrote:
>
> > Dan,
>
> &
#x27;s
> something you are missing because when you get back from the async
> call, everything (global variables, page objects) are fully available
> at that point... there's zero need to use setTimeout
>
> On Oct 8, 12:27 pm, Adonis wrote:
>
> > Dan,
>
> &
at is rendered
gets the "project_id" value. This is why i am looking into setTimeOut
() js function.
cheers,
On Oct 8, 2:08 pm, "Dan G. Switzer, II"
wrote:
> Adonis,
> The $.post() function is asynchronous (by default) when your code hits a
> $.post() call, it'
I am not entirely sure if i am using proper definitions here, but here
it goes..
I have $.post() inside javascript functions. If ajax is successfull,
it returns data from the server. I am trying to assign this data to
javascript global variables. The problem is that my global javascript
variable
y-value pairs
> if the data is coming from a form you can do:
>
> var serial = $('#myform').serialize();
>
> andpostthe variable serial
>
> if not then as far as I know you gotta convert the object into key-
> value pairs some other way!
>
> On
Hi,
I can not upload an array to the server...
I am using this:
$.post("/addPolyline/", {project_name:project_name,
polyline_coordinates:vertexArray}, function(data){
alert("Done");
});
project_name is a string.
The vertexArray contains coordinates so it could look like this:
[(-11.2323,34.345
13 matches
Mail list logo