Tagged Questions
0
votes
2answers
34 views
How to load javascript in CakePHP?
I'm fresh in CakePHP, current work in a website which a part require bxsldier.
I imported scripts with following code:
echo $this->Html->script('http://code.jquery.com/jquery-1.9.1.min.js');
...
-3
votes
0answers
37 views
“ReferenceError: $ is not defined” in CakePHP 2.2 version
I am getting "ReferenceError: $ is not defined" error in my admin panel while using CakePHP 2.2 version due to this some of the validations, tiny mceditor etc are not working. I have used an admin ...
-4
votes
1answer
43 views
Show some options about username [closed]
When we try to put a username when subscribing to a site, it will decline our choice and show us some usernames which can be chosen by us. For example if I put Junaid, the site shows me the options ...
0
votes
2answers
36 views
Change html tag with same dimensions
I have a long table with different entries, some of which are marked as "xxx".
When the html code is generated, the row with the xxx looks like this(generated by a plugin):
<td ...
0
votes
0answers
19 views
Is there anyway to check if the upload is disconnected?
I have a file upload site, and during upload it will show loading progress, and when it's done, it will pop up an alert box saying done. However, if in the middle of uploading, somehow the internet ...
1
vote
1answer
24 views
CakePHP confirmation popup not appearing
When a user clicks a submit button a popup should appear asking them if they wish to submit the selection. I've been adding to the view, and I just noticed that although the form works properly, I no ...
0
votes
2answers
33 views
JavaScript & CakePHP: how to get this simple script working?
I'm trying to use echo $this->Html->script('dynamic_emails'); at the very beginning of the View file (ctp) to load some JavaScript, but it is currently not working. It does work if I explicitly ...
1
vote
2answers
66 views
Javascript says undefined after reading json server error response sent by cakephp
Below is my AJAX Method which is able to connect to the server:
$.ajax({
type: 'POST',
url: $form.attr('action'),
data: formData,
dataType: 'json',
...
0
votes
2answers
53 views
HTML and JavaScript in Cakephp
So i have made a simple 3 page site in html and JavaScript. Now im wanting to put it in a cakephp framework and am totally lost. The site is a simpe home page, create user screen and onmouseover game ...
0
votes
1answer
109 views
CakePHP - Ajax not working correctly
#Edit I use CakePHP 2.3.5
I would like to know what is the problem with my Ajax request and Controller behaviour.
These are the issues i encounter:
Ajax - POST request always fails (i always get ...
0
votes
1answer
80 views
knockout.js validation plugin not working with CakePHP
I'm trying to use the knockout.js validation plugin with CakePHP but I can't seem to get it working.
I'm including the validation plugin at the end of the corresponding view. The network tab in ...
-3
votes
1answer
40 views
The best way to call a js from cakephp action [closed]
Suppose that a have one action to add an user very simple:
$this->Model->save($this->request->data);
And, after save the user, I want to make a notification with the Noty.js
What's the ...
0
votes
1answer
53 views
how to post database fetch values from one page to anthor page using HTML table
in this code
"<td align="left"><a href="admin_order_update.php">' .$row['o_id'] .'</a></td>"
i generate multiple o_id so when i click on other particular o_id this o_id post ...
0
votes
0answers
89 views
CakePHP 2.3 AJAX dynamic form
I am trying to develop a CakePHP 2.3 application with a dynamic form and I am having trouble understanding how AJAX works with the newer versions of CakePHP. I have done a lot of google searching and ...
0
votes
1answer
82 views
cakephp - ajax request and action 'edit' does not work in simultaneous
i'm using ajax ($this->Js->get) to select an element of any dropdownlist and, then, populate other dropdownlist. but, i have those dropdownlists inside a form->create('User').
So, if i use ...