Re: clearing feedback messages on Ajax upload

2014-11-14 Thread Martin Grigorov
On Fri, Nov 14, 2014 at 1:47 AM, Garret Wilson wrote: > Martin, after fixing the ID selector ("#id7") it works great! (The page > jumps up because the feedback area disappears, but I can live with that for > now.) It even How is your CSS ? ;-) Instead of $('#id7').empty() you can use $('#id7').

Re: clearing feedback messages on Ajax upload

2014-11-13 Thread Garret Wilson
Martin, after fixing the ID selector ("#id7") it works great! (The page jumps up because the feedback area disappears, but I can live with that for now.) It even works in conjunction with Sven Meier's confirmation message button . Very nice. Thank you

Re: clearing feedback messages on Ajax upload

2014-11-13 Thread Martin Grigorov
On Fri, Nov 14, 2014 at 12:36 AM, Garret Wilson wrote: > I actually mistyped; I greatly prefer option A, not B, below. So Martin, > your suggestion sounds good. > > My JavaScript is great, but my JQuery is not so hot. I added your code > and... my AjaxSubmitLink now no longer performs an upload a

Re: clearing feedback messages on Ajax upload

2014-11-13 Thread Garret Wilson
I actually mistyped; I greatly prefer option A, not B, below. So Martin, your suggestion sounds good. My JavaScript is great, but my JQuery is not so hot. I added your code and... my AjaxSubmitLink now no longer performs an upload at all. Here's the script that's being added to the page:

Re: clearing feedback messages on Ajax upload

2014-11-13 Thread Martin Grigorov
Hi, On Thu, Nov 13, 2014 at 11:36 PM, Garret Wilson wrote: > Hi, all. I've done a bit of searching to find the answer, and nothing > quite seemed to fit, or was obsolete, or was deprecated, or was vague. So > I'll ask on the list. > > I have a page that uses a multipart form submit. It allows th

clearing feedback messages on Ajax upload

2014-11-13 Thread Garret Wilson
Hi, all. I've done a bit of searching to find the answer, and nothing quite seemed to fit, or was obsolete, or was deprecated, or was vague. So I'll ask on the list. I have a page that uses a multipart form submit. It allows the user to select a file, and has an AjaxSubmitLink with the label "