Re: Using JQuery UI Datepicker for formatted date fields (dd/mm/yy)

2014-05-12 Thread scs
You can also do a afterfind to convert the date to your format and then a beforesave to convert the date back to mysql format. -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message because you are subscribed to the G

Re: Using JQuery UI Datepicker for formatted date fields (dd/mm/yy)

2014-05-10 Thread Dario Savella
Thank you for replying. I was afraid that was the case... I will build a small helper to do that. > -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message because you are subscribed to the Google Groups "CakePHP" g

Re: Using JQuery UI Datepicker for formatted date fields (dd/mm/yy)

2014-05-08 Thread dario gaston musante
I´ve solved this type of issues with a hidden field having the value in sql format (-MM-DD ) and formatting the date for user with php in the text field. ( http://php.net/manual/en/function.date.php ) jquery can set 2 fields with the diferents formats. ( http://jqueryui.com/datepicker/#alt-

Using JQuery UI Datepicker for formatted date fields (dd/mm/yy)

2014-05-06 Thread Dario Savella
I was able to make this work without much of a problem using dates in the format they arrive from the database. But that's not an acceptable for the users... and here I started having problems. It's easy enough to set the dateFormat of the datepicker (as suggested in posts I've seen around), bu

Re: Display dynamic checkbox in cakephp using Jquery

2013-09-17 Thread kdubya
You have multiple problems. First, the fact that you are getting the "method in controller could not be found" message means your routing is not correct. Try looking at http://book.cakephp.org/2.0/en/core-libraries/components/request-handling.html#RequestHandlerComponent Second, at the end of y

Display dynamic checkbox in cakephp using Jquery

2013-09-16 Thread Augustin
Hi All, I want to display "checkbox" dynamically after the value is being entered in input box . So far i have done analysis and couldn't display the correct values in checkbox . Here what i did: #sw is id for input text box. #releaseValue : where checkbox needs to be created dyn

Re: Interacting with a cakephp rest service using jquery - problem with PUT

2012-04-28 Thread lowpass
Browser support for PUT and DELETE is sketchy. http://annevankesteren.nl/2007/10/http-method-support http://amundsen.com/examples/put-delete-forms/ On Sat, Apr 28, 2012 at 4:25 AM, Greg Skerman wrote: > I will add, that POST and GET works fine... data is passed back and forth as > expected and c

Re: Interacting with a cakephp rest service using jquery - problem with PUT

2012-04-28 Thread Greg Skerman
hmmm disregard.. JSON.stringify to the rescue :S On Sat, Apr 28, 2012 at 6:25 PM, Greg Skerman wrote: > I will add, that POST and GET works fine... data is passed back and forth > as expected and cakephp's "magic" takes care of saving of data perfectly > fine. > > > On Sat, Apr 28, 2012 at 6:24

Re: Interacting with a cakephp rest service using jquery - problem with PUT

2012-04-28 Thread Greg Skerman
I will add, that POST and GET works fine... data is passed back and forth as expected and cakephp's "magic" takes care of saving of data perfectly fine. On Sat, Apr 28, 2012 at 6:24 PM, Greg Skerman wrote: > Hi all, > > Building a simple tool which uses a cakephp rest service. The client > appli

Interacting with a cakephp rest service using jquery - problem with PUT

2012-04-28 Thread Greg Skerman
Hi all, Building a simple tool which uses a cakephp rest service. The client application is the webpage generated by the application, and it reacts to user input such as dragging and dropping things around. I've extended the jquery ajax helper methods to include methods for PUT and DELETE, and th

Re: Check username availability using jquery

2011-08-08 Thread euromark
t; > here is a link on which i found a way to a article to check username > > availability... > > >http://www.instatutorial.com/check-username-availability-using-jquery... > > > -- > > Our newest site for the community: CakePHP Video Tutorials > >http://tv.cakephp.org >

Re: Check username availability using jquery

2011-08-07 Thread Ma'moon
rrectly but bit worried about security. > help me guys > here is a link on which i found a way to a article to check username > availability... > > > http://www.instatutorial.com/check-username-availability-using-jquery-in-cakephp > > -- > Our newest site for the community

Check username availability using jquery

2011-08-07 Thread Neil !!!
I found a way to workout correctly but bit worried about security. help me guys here is a link on which i found a way to a article to check username availability... http://www.instatutorial.com/check-username-availability-using-jquery-in-cakephp -- Our newest site for the community: CakePHP

How do you work when using jquery on a multilingual project?

2011-07-06 Thread heohni
Hi, I have a multilingual project and I am using the P28n and methods. But I am also doing a lot of Ajax stuff and from time to time I have the need to output text via my javascript files. Is there anyhow a way / a trick ( how to use the cakephp translation () in my js files? Thanks! I look for

Re: I am using jQuery in my form BUT it relies on ProtoType to work???

2011-06-15 Thread Shaz
Use pure javascript vs the JS helper for jQuery - should sort it. On Jun 9, 8:48 am, OldWest wrote: > I could be missing something severely here, but this is just not adding up. > > I built an ajax form which is working perfectly fine with ProtoType and > Scriptaculous. > > I am migrating to Jque

I am using jQuery in my form BUT it relies on ProtoType to work???

2011-06-08 Thread OldWest
I could be missing something severely here, but this is just not adding up. I built an ajax form which is working perfectly fine with ProtoType and Scriptaculous. I am migrating to Jquery, and so I added the jquery libraries etc.. Below is my $ajax submit.. *NOTE the jQuery coded loading and

Re: Using Jquery-JSON to Send Data to the Server

2011-05-26 Thread darkwolf
Usually I work with Firefox and Firebug for Web programming. The Firebug doesn't shows anything wrong. I do not understand what happen. When I do document.frm.submit() in the Onclick input to send data, I have been checked what you said and only shows array indexes, and i need to pick the values a

Re: Using Jquery-JSON to Send Data to the Server

2011-05-26 Thread huoxito
did you check on firebug if all params are passed correctly? -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this grou

Re: Using Jquery-JSON to Send Data to the Server

2011-05-25 Thread darkwolf
Thanks for answer me. I used debug($this->params) and i could see the array, it seems like print_r($this->data). I could see that json maybe i'm not using it correctly, it could be the function $.ajax i have a problem there. At this group i posted a larger version of my question with the code form

Re: Using Jquery-JSON to Send Data to the Server

2011-05-25 Thread huoxito
do some debug($this->params) on the controller and you should see that data -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe

Video : Ajax Form Validation in CakePHP 1.3 using Jquery

2011-01-21 Thread Azril Nazli
Ever try to simulate $ajax->observeField() in Cake using Jquery, the following video shows you how URL : http://www.php.net.my/forum/video-cakephp-validation-jquery - the video has no audio so you need to pay attention to whatever I typed - recorded using CamStudio in AVI and later converted

Re: Tutorials on implementing server side validation in cakephp using jquery

2009-08-20 Thread Brendon Kozlowski (Realm)
See your other question: http://groups.google.com/group/cake-php/browse_thread/thread/6decf0c24f7a6805?hl=en Please don't ask the same question multiple times. On Aug 20, 12:20 am, jeremy wrote: > hai guys, > >              i am looking for tutorials on using cakephp with jquery > to implement

Re: using jquery with cakephp

2009-08-20 Thread Brendon Kozlowski (Realm)
the client side validation using jquery... > > but is having difficulty in implementing server side validations... > > so if there is a tutorial on how to use this, i suppose it would be > very helpful.. > > thank you --~--~-~--~~~---~--~~ Y

Re: using jquery with cakephp

2009-08-19 Thread jeremy
am able to do the client side validation using jquery... but is having difficulty in implementing server side validations... so if there is a tutorial on how to use this, i suppose it would be very helpful.. thank you --~--~-~--~~~---~--~~ You received

Tutorials on implementing server side validation in cakephp using jquery

2009-08-19 Thread jeremy
hai guys, i am looking for tutorials on using cakephp with jquery to implement the server side validations... please send me the links..as am not able to find a proper subject in this material Thamks in advance. --~--~-~--~

Re: using jquery with cakephp

2009-07-31 Thread Walther
You use it like you would use jquery normally. Very easy. On Jul 30, 10:38 am, jeremy wrote: > hai guys, > > am looking for using jquery with cakephp... > > i googled a lot but didnt get appropriate tutorials for this > > can anyone send me links or tutorials of perfr

using jquery with cakephp

2009-07-30 Thread jeremy
hai guys, am looking for using jquery with cakephp... i googled a lot but didnt get appropriate tutorials for this can anyone send me links or tutorials of perfroming both the client side and server side validations in cakephp using jquery.. THANZ IN ADVANCE

Re: Sortable using jQuery help

2009-07-29 Thread JamesF
ntries/order/ 0/', $('.li').sortable("serialize", {key: 'li[]'})) } }); On Jul 29, 7:50 pm, "Dave Maharaj :: WidePixels.com" wrote: > Has anyone implemented the sortable feature using jQuery UI? > > I found this > onlinehttp://stackoverflow

Sortable using jQuery help

2009-07-29 Thread Dave Maharaj :: WidePixels.com
Has anyone implemented the sortable feature using jQuery UI? I found this online http://stackoverflow.com/questions/955438/jquery-sortable-in-cakephp-stuck-a t-ajax-part I have the sorting part working but its not firing the ajax request to update the order. $("#sortable"

Re: how to make scrolling tabs using jquery in cakephp

2009-07-07 Thread brian
ng tabs given in following link using > jquery in cakephp please give me some example > > > http://www.handsetdetection.com/devices/properties/Access/netfront_ver3 > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed

how to make scrolling tabs using jquery in cakephp

2009-07-07 Thread mona
How to make suct type of scrolling tabs given in following link using jquery in cakephp please give me some example http://www.handsetdetection.com/devices/properties/Access/netfront_ver3 --~--~-~--~~~---~--~~ You received this message because you are subscribed

Re: Using jQuery

2009-02-27 Thread Stu
Did you manage to get this to work? I'm also trying to implement it. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from

Re: Using Jquery

2009-01-31 Thread brian
o big a deal. You'll just need to include some JS code yourself. On Sat, Jan 31, 2009 at 12:25 AM, WidePixels wrote: > > I am new and I know this is a laughable question so I am prepared for > the laugher but here goes. > > If you are using Jquery rather than the Protoype and

Re: Using Jquery

2009-01-31 Thread Miles J
Yes I believe the ajax helper is useless at the point. I usually create my own jquery helper. On Jan 30, 9:25 pm, WidePixels wrote: > I am new and I know this is a laughable question so I am prepared for > the laugher but here goes. > > If you are using Jquery rather than the

Using Jquery

2009-01-30 Thread WidePixels
I am new and I know this is a laughable question so I am prepared for the laugher but here goes. If you are using Jquery rather than the Protoype and Scriptauculous, is the $ajax->xxx useless? Can you use the ajax helper at all? If not what do you do when you want to use ajax. Example $a

Re: Using jQuery

2009-01-26 Thread brian
Are you using $(document).ready()? Is jQuery loading *before* any of your own code that uses it? What, exactly, are the errors you're seeing? On Mon, Jan 26, 2009 at 6:08 PM, WidePixels wrote: > > Is there something special I need or am missing with using jQuery? I > have the jq

Using jQuery

2009-01-26 Thread WidePixels
Is there something special I need or am missing with using jQuery? I have the jquery.php im my views/helpers but no matter what i try to create i get "is not a function" or syntax error in link(array('jquery.easing.1.3'), false); ?> Added the javascript that is in the demo

Re: Using JQuery and Prototype in same application

2008-11-04 Thread mark_story
si-mon: I didn't mean to offend you, it was a honest question. To me its not worth the extra work. However it can be done but there is a lot of hoop jumping. You can do it if you load jQuery first. And force it in to compatibility mode. Samuel: You can configure which javascript is used now!

Re: Using JQuery and Prototype in same application

2008-11-04 Thread Giaco
Since both frameworks use the $()-function, you either - have to jump through loops to make it working for both of them - use the jQuery alias function jQuery() - or, my favorite: if you use the short form to wait till page load of DOM of jQuery: "jQuery(function(){/* yourcodehere */})" you ca

Re: Using JQuery and Prototype in same application

2008-11-03 Thread si-mon
Actually, we are a group working on a single project, and each one having expertise in different libraries. So this question... Anyhow, thanks for the very useful information. This will help us a lot... -- si-mon On Nov 3, 5:11 pm, monmonja <[EMAIL PROTECTED]> wrote: > If your using plugins, chec

Re: Using JQuery and Prototype in same application

2008-11-03 Thread monmonja
If your using plugins, check if the plugin has the compatibility to work with other library, if not remember to not use $ for jquery stuff, most of the time you would be mixing them up. I would also suggest to just drop one of them. :) On Nov 4, 3:13 am, "Samuel DeVore" <[EMAIL PROTECTED]> wrote

Re: Using JQuery and Prototype in same application

2008-11-03 Thread Samuel DeVore
On Mon, Nov 3, 2008 at 11:48 AM, mark_story <[EMAIL PROTECTED]> wrote: > > A better question is why? Maybe if you have an app that uses prototype but one wants to play with your amazing debug kit ;) > > -Mark > > On Nov 2, 11:55 pm, si-mon <[EMAIL PROTECTED]> wrote: >> Hi all, >> Is there any pr

Re: Using JQuery and Prototype in same application

2008-11-03 Thread mark_story
A better question is why? -Mark On Nov 2, 11:55 pm, si-mon <[EMAIL PROTECTED]> wrote: > Hi all, > Is there any problem in using both JQuery and Prototype in the same > application? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the G

Re: Using JQuery and Prototype in same application

2008-11-03 Thread monmonja
Nope, try to use both and insert jQuery.noConflict() documentation at http://docs.jquery.com/Core/jQuery.noConflict Monmonja http://monmonja.com/blog/ On Nov 3, 12:55 pm, si-mon <[EMAIL PROTECTED]> wrote: > Hi all, > Is there any problem in using both JQuery and Prototype in the same > applicat

Using JQuery and Prototype in same application

2008-11-02 Thread si-mon
Hi all, Is there any problem in using both JQuery and Prototype in the same application? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com

Ajax Login using Jquery and Auth component

2008-10-07 Thread bookme
Hi, I am new to cakephp. I have no idea how to use ajax login using Jquery and Auth. It would be great for me if anybody tell me any tutorial or steps to do this. Thanks a lot you!! --~--~-~--~~~---~--~~ You received this message because you are subscribed to

Re: Populating a selectTag using jQuery AJAX

2008-09-18 Thread peterhf
First, thank you both, teknoid and hydra12, for your contributions. They got me headed in the right direction. BTW, this version of the JavaScript only displays the xml text in an alert for testing purposes. Second, this is working for me:

Re: Populating a selectTag using jQuery AJAX

2008-09-17 Thread hydra12
In your controller, you need to $this->set('xml',$xml); Set the layout to be blank (1.2 has an ajax layout that would work for this, but I don't know if 1.1 does or not). You need a view called get_events that does this: Your jquery is calling Attendance/get_events, so there has to be a view ca

Re: Populating a selectTag using jQuery AJAX

2008-09-17 Thread teknoid
Perhaps I didn't look at your code very closely, but after you've made the xml string ($xml) what happens? Shouldn't your action output (return) that xml? I'm not sure if 1.1 has the ability to use RequestHandler to respond as xml, otherwise you could just make an empty layout, which would only d

Populating a selectTag using jQuery AJAX

2008-09-17 Thread peterhf
Using: CakePHP 1.1.19.6305 jquery-1.2.6.min.js In the view: select a campaign: selectTag( 'Campaign/CampaignID', $options_C, null, array( 'onchange' => 'display_select_event()','id' => 'select_campaign' ), null, true, false ); ?> In the JavaScript: function display_select_event() { . . .

Re: using jquery and json on cakephp

2008-04-16 Thread Freshow
I checked it again ,but the problem is always, I test it and find that when call ./post/add.json , the function in post/json/add.ctp not work for me, it means ./post/add.json not associate with ./post/json/ add.ctp , right? On 4月17日, 上午3时41分, krusty999 <[EMAIL PROTECTED]> wrote: > You must set

Re: using jquery and json on cakephp

2008-04-16 Thread Renan Gonçalves
> > [EMAIL PROTECTED]:* > Configure::write('debug',0); //When output Json. Put this line at json's layout. []'s On Wed, Apr 16, 2008 at 4:41 PM, krusty999 <[EMAIL PROTECTED]> wrote: > > You must set some variable for te output. > > Controller: > $this->set('myVariable', $this->User->findAll(

Re: using jquery and json on cakephp

2008-04-16 Thread krusty999
You must set some variable for te output. Controller: $this->set('myVariable', $this->User->findAll()); Configure::write('debug',0); //When output Json. Then in your view app/views/users/data.ctp you can leave empty. But in your view app/view/users/json/data.ctp you put: object($myVariable);

Re: using jquery and json on cakephp

2008-04-13 Thread Freshow
It's useful,but if I let 'post/message.ctp' output nothing, I cannot get anything by '/post/message.json', what's the problem On 2月17日, 下午1时50分, bingo <[EMAIL PROTECTED]> wrote: > Here are the things that I did to get my jquery, json, and ajax > working > > 1. I included this line in app/config/

Re: using jquery and json on cakephp

2008-02-17 Thread mike
Thanks dude:) I Gonna try this out On Feb 17, 9:50 am, bingo <[EMAIL PROTECTED]> wrote: > Here are the things that I did to get my jquery, json, and ajax > working > > 1. I included this line in app/config/routes.php >Router::parseExtensions('rss', 'json', 'xml'); //notice > json ove

Re: using jquery and json on cakephp

2008-02-16 Thread bingo
Here are the things that I did to get my jquery, json, and ajax working 1. I included this line in app/config/routes.php Router::parseExtensions('rss', 'json', 'xml'); //notice json over there 2. Then, I created a folder named "json" in my views/post..so my views folder structure lo

using jquery and json on cakephp

2008-02-16 Thread mike
How do I send and process ajax request using jquery's .getJson() on cakephp. I need to setup dynamic dropdown box? Thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send