[jQuery] Re: ajax image

2010-01-06 Thread Mean Mike
for , bummer 8 ^ ( > *unless* you wanted to use data url vales as image sources (like:http://www.websiteoptimization.com/speed/tweak/inline-images/), but > the problem with that, like almost all cool ideas like that link > shows, is it doesn't work with IE neat concept but not doable trying to stick with ajax Thanks for your help Mean Mike

[jQuery] Re: ajax image

2010-01-06 Thread Mean Mike
run through the same ajax function > > What "same" ajax function? > > On Jan 6, 10:29 am, Mean Mike wrote: > > > ok so I figured out that you can put in image in your page using .load > > (imageloader.php) but is there a way to load an image using regular > &

[jQuery] ajax image

2010-01-06 Thread Mean Mike
tml i use to just go and that worked except now I don't want to pass that info in the query string I want to post the info AND I want all my ajax calls to run through the same ajax function which is why I don't want to use .load any thoughts or suggestions mean mike

[jQuery] Re: ajaxfileupload and additional data

2010-01-05 Thread Mean Mike
I'm not having any luck with this can someone point me in the right direction On Jan 4, 3:50 pm, Mean Mike wrote: > Hello all, > > I'm running this plug inhttp://www.phpletter.com/Our-Projects/AjaxFileUpload/ > and I need to send along additional post data can anyone

[jQuery] ajaxfileupload and additional data

2010-01-04 Thread Mean Mike
emove(); add_form_field(); } else { obj.func(data, obj.id); } } }); [/code] thanks Mean Mike

[jQuery] Re: What is the event when a user presses the enter key anywhere on the page?

2009-12-17 Thread Mean Mike
gt;     if( e.which == 13 ) > > -Mike > > On Thu, Dec 17, 2009 at 11:06 AM, Mean Mike wrote: > > keypress > > >                                $(document).keypress(function(e) { > >                                        if ((e.which && e.

[jQuery] Re: What is the event when a user presses the enter key anywhere on the page?

2009-12-17 Thread Mean Mike
// do something } }); mean mike On Dec 17, 2:03 pm, "laredotorn...@zipmail.com" wrote: > Hi, > > I would like to capture the event of pressing enter anywhere on the > page, even if the focus of the mouse cursor is not on a text field. > What event/element am I looking at? > > Thanks, - Dave

[jQuery] Re: more ckeditor

2009-12-17 Thread Mean Mike
> Perhaps just this, then: > >     $("#fck").ckeditor() >     CKEDITOR.on( 'instanceReady', function(event) { >         // your code here >     }); > > It's worth a try in any case. so I tried that and of course I get CKEDITOR not defined ... so I figure ot I'll wait for I try it this way

[jQuery] Re: more ckeditor

2009-12-17 Thread Mean Mike
until $ ("#fck").ckeditor() is called so if I call anyhting before that is finished I get CKEDITOR is undefined. Mike On Dec 16, 5:05 pm, Scott Sauyet wrote: > On Dec 16, 4:07 pm, Mean Mike wrote: > > > now this works because by the time i press the button the ckeditor is &

[jQuery] Re: more ckeditor

2009-12-16 Thread Mean Mike
now this works because by the time i press the button the ckeditor is load so now I'm trying to figure out when it is load so I can apply things to it once its loaded rather than have a user click a button. Mike On Dec 16, 3:26 pm, Scott Sauyet wrote: > On Dec 16, 2:57 pm, Mean Mike wr

[jQuery] Re: more ckeditor

2009-12-16 Thread Mean Mike
maybe I have something setup wrong but every time I run that I get an js error "CKEDITOR is not defined" on line 32 of jquery.CKEditor.js On Dec 16, 2:44 pm, Scott Sauyet wrote: > On Dec 16, 2:10 pm, Mean Mike wrote: > > > I can't seem to get anything out of the

[jQuery] more ckeditor

2009-12-16 Thread Mean Mike
I can't seem to get anything out of the new jquery ckeditor plugin I can have it load a an editor no problem but I need to do more than just that a good starting point would be for me to be able to something like var foo = $.ckeditor.instances['textarea:#fck'].getData(); that would be a good sta

[jQuery] ckeditor plugin

2009-12-15 Thread Mean Mike
I need to be able to clean the text of the ckeditor as the user types does anyone know what I need to do to achieve that ? I mean i already have the cleaning code I just need to be able to call it from the ckeditor Mean Mike

[jQuery] Re: + sortable?

2009-09-23 Thread Mean Mike
nd do processing there mean mike On Sep 8, 5:17 am, switch wrote: > Hi there, > > I was wondering if anyone has any knowledge of combining the > bassistancetreeviewplugin with jquery ui's sortable plugin? I need > to know this especially within the context of being able to drag and &g

[jQuery] Re: clone() + Sortable and Draggable

2009-07-28 Thread Mean Mike
l try to test and investigate as soon as > > possible. > > I will keep you updated. > > > On Fri, Jul 24, 2009 at 16:16, Mean Mike wrote: > > >> its because you need to make it live so that when new items with the > >> same class show up they become s

[jQuery] Re: clone() + Sortable and Draggable

2009-07-24 Thread Mean Mike
em is still present. > I tried a lot of things unsuccessfully... > > Please take a look :-) > > On Fri, Jul 17, 2009 at 15:07, Mean Mike wrote: > > > I found a least one major problem here > > > $("#champs").append($("#champs_caches").clone(tr

[jQuery] Re: jquery ui dialog get element from button

2009-07-24 Thread Mean Mike
dialog("close");} }); $("#dialog").dialog("open"); }); }); [/code] Make sense ? Mike On Jul 22, 9:29 am, Carlo Landmeter wrote: > Sorry i forgot to add it. > > src="images/delete.png" /> > >

[jQuery] Re: jquery ui dialog get element from button

2009-07-21 Thread Mean Mike
ssage = "You are about to do something: "; >                    $(".ui-dialog-content").text(message + $(this).attr("id")); >                    var somevar = $(this).attr("id"); >                    $("#dialog").dialog("open"); >          

[jQuery] Re: jquery ui dialog get element from button

2009-07-20 Thread Mean Mike
the dialog function is > run before the somevar variable is set. Anyway arround this? > > carlo > > On Fri, Jul 17, 2009 at 5:37 PM, Mean Mike wrote: > > > Carlo, > > > jQuery /javascript is procedural  so you just need to move things > > around

[jQuery] Re: Set Element Position

2009-07-17 Thread Mean Mike
I think this is what your looking for http://www.west-wind.com/Weblog/posts/517320.aspx found with quick google search Mean Mike On Jul 16, 10:18 pm, NoMatter wrote: > Hi Guys , > Its my first time here. My Question is .. > When a button click , I need to change the positions of

[jQuery] Re: draggable with select field

2009-07-17 Thread Mean Mike
btw please don't double post On Jul 17, 11:50 am, Mean Mike wrote: > I'm pretty sure you need to use it with or I don't > think you can use a select box > > if you don't need to to be sortable then i would recommend something > like having two select boxes

[jQuery] Re: draggable with select field

2009-07-17 Thread Mean Mike
add').click(function() { return ! $('#select_box_1 option:selected').remove().appendTo ('#select_box_2'); }); $('#remove').click(function() { return ! $('##select_box_2 option:selected').remove().appendTo ('##select_box_1'); });

[jQuery] Re: jquery ui dialog get element from button

2009-07-17 Thread Mean Mike
){ > >       $("#dialog").dialog("open"); > >       $("#ui-dialog-title-dialog").text($(this).attr("id")); > >     }); > > });'; > > > this is a test > > > On Thu, Jul 16, 2009 at 3:55 PM, Charlie wrote: > >

[jQuery] Re: any yone know how biocompare styled the thickbox

2009-07-17 Thread Mean Mike
I tried using thickbox and didn't like it there was some bigger reason why i didn't like it i just don't remember what it was now its been awhile now. I am already using jquery-ui for other things so it seemed logical as well that I should stick with ui thereby keeping the code tig

[jQuery] Re: JQuery XML and FusionCharts

2009-07-17 Thread Mean Mike
can we see what you get back or can you put up a sample page ? Mean Mike On Jul 17, 9:32 am, JD wrote: > Hi guys, >     I have an AJAX request which passes back some xml data, at the > moment I am only interested in one of the nodes, so I do > var onlyChartData = jData.find ("

[jQuery] Re: any yone know how biocompare styled the thickbox

2009-07-17 Thread Mean Mike
I wouldn't use thickbox I would use jquery-ui.dialog but if you want to use thick box I suggest downloading thickbox and maybe looking at the documentation Mean Mike On Jul 17, 9:23 am, SeanthePaddy wrote: > click signin on biocompare.com > > anyone know how i can do similar ? > > tnx > sean

[jQuery] Re: clone() + Sortable and Draggable

2009-07-17 Thread Mean Mike
t get that fixed then lets go from there Mean Mike On Jul 17, 2:58 am, rejome wrote: > Hello everyone ! > > I am facing a strange problem here > :http://rejome.homeip.net:8080/prototype.html > > When I clone a list that is part of a Sortable, the Draggable objects > are no

[jQuery] Re: get hover function behave right

2009-07-17 Thread Mean Mike
I think your problem has to do with scope int hat curwidth and curheight can only be seen inside the first function if you pass them in to the second function some how or set them as global values then you'll be ok Mean Mike On Jul 17, 5:59 am, runrunforest wrote: > Hi, > > I w

[jQuery] Re: jquery ui dialog get element from button

2009-07-16 Thread Mean Mike
I didn't realize there was a setter option for that, cool now I can change my code LOL Mean Mike On Jul 16, 9:55 am, Charlie wrote: > dialog has a setter option for title, it isn't really a title attiribute. The > dialog "title is actually a span with class > ui

[jQuery] Re: jquery ui dialog get element from button

2009-07-16 Thread Mean Mike
te": function() {}, "Cancel": function() {$(this).dialog("close");} } }); }); [/code] let me know how that works out for you Mean Mike On Jul 16, 8:31 am, Carlo Landmeter wrote: > Hi, > > I have probably a simple question which i cannot s

[jQuery] Re: div display help

2009-07-15 Thread Mean Mike
or take out your onclick from your html and in your head put this $(document).ready(function(){ $("#t").change(function(){ var v = $(this).val(); $("#test" + v).css("display","block");

[jQuery] Re: URL generated by Ajax

2009-07-15 Thread Mean Mike
if you just need to see what your posting and what url its going too why not just view it in httpfox ? On Jul 15, 6:54 am, JD wrote: > Hi Guys, >     This is probably a very simple question, i'm new to JQuery but I > can't find the solution. > I create an AjaxReqest with a url and some post data

[jQuery] Re: Multiple Jquery on one page

2009-07-14 Thread Mean Mike
d: '#theDate', altFormat: > 'dd-mm-yy'}); >     }); >     $(function() { >         $("#theDate1").datepicker({altField: '#theDate1', altFormat: > 'dd-mm-yy'}); >     }); >     > > then above one will work but if both will be on s

[jQuery] Re: validate plugin only checking first required input

2009-07-14 Thread Mean Mike
I also found that validate requires the names of the fields to be unique On Jul 12, 7:23 pm, Mean Mike wrote: > you might be running into problems because you have spans with the > class "required" which is one used by jquery.validate > try giving those spans a slightly

[jQuery] Re: Multiple Jquery on one page

2009-07-14 Thread Mean Mike
I'm confused are you saying this doesn't work ? function makeSublist(parent,child,isSubselectOptional,childVal) { $("body").append(""); $('#'+parent+child).html($("#"+child+" option")); var parentValue = $('#'+parent).a

[jQuery] Re: Multiple Jquery on one page

2009-07-14 Thread Mean Mike
what plugs are you referring to ? could you show us how your importing jquery and plugins Mean Mike On Jul 14, 7:46 am, Sarm wrote: > Hi Everyone, > > Many time i am getting one problem with Jquery when i am using more > then one jquery plugin on same page then only one plugin

[jQuery] Re: validates after blur

2009-07-13 Thread Mean Mike
figured it out had to mode autobox to have unique input box names as autoobox does not put in any names or id's on the input bummer I hate moding plugins Mean Mike On Jul 13, 2:30 pm, Mean Mike wrote: > I've been trying to figure out how to add validation to jquery.autobox > and

[jQuery] validates after blur

2009-07-13 Thread Mean Mike
ot;bit-box"; }, "This field is required to contain tags."); jQuery.validator.addClassRules({ tag_check:{ tag_exists: true, tags: true } }); }; add_validation_methods(); apply_autobox("#tags" + id); $("li .autobox-input :input").addClass("tag_check"); }); any help would be greatly appreciated Mean Mike

[jQuery] Re: (Validation) how to add validation on a select box with auto post

2009-07-13 Thread Mean Mike
(this).val() != ""){ //ok lets get the data then getData(($this).val()) } }); }); I think this is what you wanted to test for Mean Mike On Jul 13, 4:22 am, mnaveed wrote: > Hi, > I have a select box with and onchange event to get the data fr

[jQuery] Re: validate plugin only checking first required input

2009-07-12 Thread Mean Mike
you might be running into problems because you have spans with the class "required" which is one used by jquery.validate try giving those spans a slightly different class and maybe that will help Mean Mike On Jul 12, 6:12 am, Zac Witte wrote: > the validate plugin at the form at

[jQuery] Re: img src attribute after append(), html()...

2009-07-10 Thread Mean Mike
try it like this $('#mydiv').append(''); On Jul 8, 12:41 pm, rinse_my_phonebook wrote: > When I call > $('#mydiv').append(''); > > I get > >   http://localhost:53072/pathtocurrentpage/a/b/ > image.jpg" /> > > > Which is not what I want. > > Can anyone tell me why I get this or even how I can

[jQuery] Re: Problem with jQuery Validation

2009-07-10 Thread Mean Mike
also be sure you don't have two or more elements with the same id or anything like that as that will mess up the validation as well On Jul 10, 9:22 am, "Natkeeran L.K." wrote: > Hi Evan: > > Make sure that you include the path to the jquery.validate.js > correctly.  Or try it by including it di

[jQuery] jquery.ui.autobox

2009-07-10 Thread Mean Mike
having multiple autoboxes on a page doesn’t seem to work out too well anyone know of a work around for this ? here is a link to the plugin, http://www.bigredswitch.com/blog/2008/12/autobox2/ also posted this same comment on the site thanks Mean Mike

[jQuery] Re: the best way to handle a group of div elements

2009-06-30 Thread Mean Mike
ok.. > can I see the corresponding HTML code > where is defined "iti" and "skipped" ? > > On 29 Giu, 21:38, Mean Mike wrote: > > > thats odd I use that syntax all the time  like this > > >     $("#iti, #skipped").sortable({ > >        

[jQuery] Re: live event doesn't work after append()

2009-06-29 Thread Mean Mike
that looks cool, Ricardo. Could one of you explain the selector syntax to me ? On Jun 29, 4:59 pm, Ricardo wrote: > Should work, see this example:http://jquery.nodnod.net/cases/444 > > Is your page in quirks mode? Can you give us an online sample of it? > > On Jun 29, 7:08 am, Anton wrote: > >

[jQuery] Re: Validate groups of checkboxes

2009-06-29 Thread Mean Mike
can you break it down to say two or three let me see how you have the html for those set up ? On Jun 29, 3:47 pm, Maged Makled wrote: > Hey All, >              I have 30 groups of checkboxes and want to validate that > the user select at least one checkbox from any group meaning if he > selected

[jQuery] Re: s.replace is not a function

2009-06-29 Thread Mean Mike
;                 if (i == 3) return false; >             }); >         }); > > the alert gives me "[object Object]" which really doesn't help me at > all. > > On Jun 29, 2:28 pm, Mean Mike wrote: > > > alert item in your loop and see if your passing a string or not I > > think tha

[jQuery] Re: the best way to handle a group of div elements

2009-06-29 Thread Mean Mike
the solution is to write > var div_elements = $('.nc1.nc2') > i.e. .nc1.nc2 tied without empty space.. > > thanks > > Antonio > > On 29 Giu, 21:01, Mean Mike wrote: > > > my bad you need a comma separator as well > > var div_elements = $('.nc1

[jQuery] Re: s.replace is not a function

2009-06-29 Thread Mean Mike
t have showed up rendered > > > in that last post. > > > > [{"ImageTag":"<img src="http://www.xxx.com/image/515.jpg"; > > > alt="">"},{"ImageTag":"<img > > > src="http://www.xxx.com/cat_image/

[jQuery] Re: the best way to handle a group of div elements

2009-06-29 Thread Mean Mike
c1 nc2" > > how can do it? > > > I tried this code..but it doesn't work > > > var div_elements = $('.nc1 nc2'); > > div_elements.removeClass('hidden'); > > > Antonio > > > On 29 Giu, 18:04, Mean Mike wrote: > > > > y

[jQuery] Re: s.replace is not a function

2009-06-29 Thread Mean Mike
ustrating as I'm trying to look for a > carousel that does dynamic loading. > > here's the json > > [{"ImageTag":"<img src="http://www.xxx.com/image/515.jpg"; > alt="">"},{"ImageTag":"<img > src="h

[jQuery] Re: s.replace is not a function

2009-06-29 Thread Mean Mike
sy. > While jQuery makes it easier, it's still not that easy. > > On Jun 29, 1:40 pm, Mean Mike wrote: > > > sorry I can't help with your carousel but that is not valid json you > > have extra quote in this part of line  '.jpg" alt=' > > > m

[jQuery] Re: s.replace is not a function

2009-06-29 Thread Mean Mike
ohh yeah can we see the json result ? On Jun 29, 1:49 pm, expresso wrote: > I borrowed this function > fromhttp://sorgalla.com/projects/jcarousel/examples/dynamic_flickr_feed.html > > function mycarousel_decodeEntities(s) { >     return s.replace(/&/g, "&") >             .replace(/"/g, '"') >  

[jQuery] Re: the best way to handle a group of div elements

2009-06-29 Thread Mean Mike
nc1 nc2" > how can do it? > > I tried this code..but it doesn't work > > var div_elements = $('.nc1 nc2'); > div_elements.removeClass('hidden'); > > Antonio > > On 29 Giu, 18:04, Mean Mike wrote: > > > your missing quotes > &g

[jQuery] Re: s.replace is not a function

2009-06-29 Thread Mean Mike
there is nothing wrong with the mycarousel_decodeEntities function so either your passing something it is not expecting, some part of jquery didn't load right or you have a syntax problem somewhere else Mean Mike On Jun 29, 1:49 pm, expresso wrote: > I borrowed this function &g

[jQuery] Re: the best way to handle a group of div elements

2009-06-29 Thread Mean Mike
your missing quotes $('.nc1').removeClass('hidden') On Jun 29, 11:58 am, Antonio wrote: > Hi folk, > > In HTML code I have this situation: > > > > > I would like to remove "hidden" to class value which class value > starts with "nc1" > > I tried the following jquery code, but it doesn't work.

[jQuery] Re: extract data from this JSON encode using jQuery

2009-06-29 Thread Mean Mike
what I do is use addOption see http://www.texotela.co.uk/code/ jquery/select/>here $("#albums").addOption(data.albums, false); my json response looks like this {"albums":{"13":"Horses","10":"Lambs\/Sheep","12":"

[jQuery] Re: combo boxes with ajax

2009-06-29 Thread Mean Mike
use on change event to call the ajax in on success use jquery addOption Mean Mike On Jun 29, 6:56 am, "Octavian Rasnita" wrote: > Hi, > > I would like to use a set of 2 or more combo boxes that use ajax so when I > select an item from the first combo box, an ajax

[jQuery] Re: live event doesn't work after append()

2009-06-29 Thread Mean Mike
hat is this $("a:not([onclick])") can you show me the html that is this selector ? passing this as the function my be acceptable but you didn't show us what that function are you getting any errors in the error console ? Mean Mike On Jun 29, 6:08 am, Anton wrote: > I found the bug

[jQuery] connected sortable containment

2009-05-22 Thread Mean Mike
Hello again, I have a connected sortable that I'd like to keep contained to the 'sortcontainer' but it seems to be acting erratically not sure what I"m doing wrong or if it is even possible ? thanks Mike my jquery is like so... $("#hottopic, #hidden").sortable({ connect

[jQuery] Re: find ID of input within a div

2009-05-12 Thread Mean Mike
> functions. But I can't tell you how they work :-/ > > > > Another questions: > > > >         > > >        * Verpackungsform > > >         > > >         > > >        Neue Eigenschaft > > >        Oval > &

[jQuery] Re: find ID of input within a div

2009-05-12 Thread Mean Mike
$('a.stop').click(function() { var input_id = $(this).prev().attr("id"); var parent_id = $(this).parents("div:first").attr("id"); $('#'+parent_id).hide(); } On May 12, 8:48 am, heohni wrote: > hi! > > I have this construct: > class="textInput"> > > On click I want to hi

[jQuery] Re: setting the style of a div

2009-05-12 Thread Mean Mike
Ash, All your design should be done in CSS at least thats my understanding of how you design a web site. a quick google got me this article which shows how to set style with jquery http://ajax.phpmagazine.net/2006/04/event_selector_showdown_the_jq.html here is the documentation for jquery's cs

[jQuery] Re: problem validating form fields using jquery validator plugin

2009-05-11 Thread Mean Mike
our quick response. but still its not working for me... > > i tried the same code in a another similar form. its working well > there. but when i execute the same code in this page, its not > executing. > > any idea to resolve this would help me a lot... > > Thanks, > Kris

[jQuery] Re: Help with div, css selector, and form field...

2009-05-11 Thread Mean Mike
wouldn't it make more sense to just have one drop down menu with all school choices in it ? as long as all the schools differ in value I pretty sure that would make your life easier On May 11, 1:41 pm, Loony2nz wrote: > I had a better thought. > > How do I get the count of options within a div?

[jQuery] Re: problem validating form fields using jquery validator plugin

2009-05-11 Thread Mean Mike
lse; } else { //alert(value); //alert('here in else'); return true; } },''); $.validator.addMethod('validChars', function(value) { var iChars = "!...@#$%^&()+=[]\\\';,./{}|\"<>?"; for (var i = 0; i < value.length; i++) { if (iChars.indexOf(value.charAt(i)) != -1) { return false; } } return true; },''); Mean Mike

[jQuery] ui sortable serialize inputs of li

2009-05-11 Thread Mean Mike
this items[]=feild[]=hello&feild[]=goodbye&items[]=feild[]=foo&feild[]=bar but the input items should not be sortable just the lis' does that make sense to anyone ? thanks Mean Mike

[jQuery] Re: Cycle plugin and paging

2009-04-02 Thread Mean Mike
[/html] hope this helps ohters Mike On Apr 2, 2:50 pm, Mean Mike wrote: > Hello all > > I am trying to work with the cycle plugin and I'm having a bit of a > problem (what's new?) here is the scenario . I have multiple groups of > images that I wan

[jQuery] Cycle plugin and paging

2009-04-02 Thread Mean Mike
Hello all I am trying to work with the cycle plugin and I'm having a bit of a problem (what's new?) here is the scenario . I have multiple groups of images that I want to cycle but I don't want to target them by id I would rather target them by class however I also would like to use paging. so I

[jQuery] Re: form create

2008-12-10 Thread Mean Mike
ontent").append(""); $("#form"+id).append(""); $("#form"+id).append(""); $("#form"+id).append(""); id = (id - 1) + 2; document.getElementById("id&q

[jQuery] Re: form create

2008-12-10 Thread Mean Mike
f+=""; */ var f = ""; $("#content").append(f); id = (id - 1) + 2; document.getElementById("id").value = id; } On Dec 10, 11:22 am, Mean Mike <[EMAIL PROTECTED]> wrote: > I'm wo

[jQuery] form create

2008-12-10 Thread Mean Mike
I'm working on a multifile upload system and I found that my form function does not work in IE while I have a workaround I wonder why this code doesn't work in IE ? thanks for your help Mike Test jQuery function addFormField() { var id = document.getElementById(