[jQuery] Re: upload file from jquery dialog modal form

2009-07-04 Thread williamstam

bump... im also looking for a pointer in the right direction

On Jun 16, 6:43 pm, Johan Gunnarson johgu...@student.liu.se wrote:
 Does anyone know if it is possible to upload a file from a jquery modal form
 (http://jqueryui.com/demos/dialog/#modal-form) ?

 I just need some help with the ajax call. The back-end will be asp with
 AspUpload that will handle the file upload.


[jQuery] Tablesorter - multiple header cells and row grouping

2009-05-08 Thread williamstam

each quot;rowquot;has a row beneath it with a quot;menuquot; part
to edit / view the record etc. using css the menu is set to
display:none. when a user clicks the record jquery does a .show() on
the menu row/p
pis it posible to sort the columns preserving the record row and
menu row (maybe grouping them with a class or something) the sort to
not read the menu row. and if you click on ID / Client / Cm on any of
the quot;sectionsquot; (Display / Classifieds) it sorts that colum
for the whole table... so say i click on cm under classifieds it also
orders the colum acordingly for display/p
pnbsp;/p
table width=400 border=1 cellspacing=0 cellpadding=0
  tr
td colspan=3Display/td
  /tr
  tr
thID/th
thClient/th
thCm/th
  /tr
  tr
td1/td
tdxx/td
td16/td
  /tr
  tr
td colspan=3view | edit/td
  /tr
  tr
td2/td
tdyy/td
td3/td
  /tr
  tr
td colspan=3view | edit/td
  /tr
  tr
td colspan=3Classifieds/td
  /tr
  tr
thID/th
thClient/th
thCm/th
  /tr
  tr
td3/td
tdzz/td
td45/td
  /tr
  tr
td colspan=3view | edit/td
  /tr
  tr
td4/td
tdaa/td
td32/td
  /tr
  tr
td colspan=3view | edit/td
  /tr
  tr
td5/td
tdbb/td
td17/td
  /tr
  tr
td colspan=3view | edit/td
  /tr
  tr
td6/td
tdcc/td
td87/td
  /tr
  tr
td colspan=3view | edit/td
  /tr
/table
p
im sure i can build an ajax thing to reload the table and do the
sorting server side but was kinda hoping against that


[jQuery] sorting a table

2009-05-08 Thread williamstam

each rowhas a row beneath it with a menu part to edit / view the
record etc. using css the menu is set to display:none. when a user
clicks the record jquery does a .show() on the menu row

is it posible to sort the columns preserving the record row and menu
row (maybe grouping them with a class or something) the sort to not
read the menu row. and if you click on ID / Client / Cm on any of the
sections (Display / Classifieds) it sorts that colum for the whole
table... so say i click on cm under classifieds it also orders the
colum acordingly for display

i checked out tablesorter but its not quite working... help?

table structure demo 
http://www.press-store.co.za/store/adbookerv4/tablesorter.asp


[jQuery] Re: jQuery - UI - Dialog (embedding a web page)

2009-05-08 Thread williamstam

well you could use .load() to load a page into a div inside the
dialog... then open it. i dont like using iframes

*waits for the flameing*

On May 8, 7:23 pm, DualFlex frank.fourn...@gmail.com wrote:
 Many thanks Richard!

 It's working! I have a few new twists. Meet you in the other forum!
 ---
 Dualflex


[jQuery] multiple select boxes with the same name submiting via ajax

2008-11-05 Thread williamstam

hi

i hope somone can help

i have a couple of records which all have (the idea anyways) have
select boxes. when a user changes the select box it submits those
changes and the record ID to another page using ajax to update the
database. so far i have

$(document).ready(function(){
$(#priority).change(function() {

jQuery.ajax({
data: prio= + $(#priority).val() + ID=1,
url: do_priority.asp,
timeout: 2000,
error: function() {
  console.log(Failed to submit);
},
success: function(r) {
  $(#priority).removeAttr(disabled);
}
  });

$(#priority).attr(disabled, disabled);

});
});

it works like a charm with 1 record... as soon as there are more
records it fails. i presume this is cause its finding multiple '$
(#priority)' select boxes in the page?

the above code when you change the value of a select box it disables
the box till ajax says that it worked then re enables it again.

regards

william