0
votes
0answers
32 views

Symfony 1.4 & ajax parameter “null”

i'm trying to use ajax,but i cant reach my variables in my php. On my symfony page i have : $.ajax({ type: "POST", url: "agenda/data", data: { title : title} }); and in action.class.php ...
0
votes
1answer
97 views

Symfony: Using JavaScript in a onChange-event in a form and calling an action from the JS-Function

I never used Javascript before but now I need it in my Symfony-Project (Symfony 1.4) and have some problems about where to add code to get it working: I have a template (indexSuccess) in the module ...
1
vote
0answers
49 views

How to count character in a textarea? [closed]

In the form class : $this->widgetSchema['name_domaine'] = new sfWidgetFormTextarea(array(), array('cols' => 50, 'rows' => 13)); ...
0
votes
3answers
99 views

Display how many people viewing my website [duplicate]

How can I display how many people are currently viewing my website? Is there any script I can use for this? I am developing my web on Symfony 1.4. it supposed to displayed on Home page i mean the ...
0
votes
0answers
109 views

Error: “throw $continue” is deprecated, use “return” instead [closed]

I am using symfony 1.4 when I use datepicker this sfWidgetFormDateJQueryUI widget not working and showing this error: Error: "throw $continue" is deprecated, use "return" instead.
0
votes
3answers
591 views

How to restrict user to download or save pdf file? [duplicate]

Possible Duplicate: Prevent PDF file from downloading and printing In my current symfony project (in admin section) I uploaded pdf file and open it by using JavaScript, but I want to ...
1
vote
1answer
103 views

Ajax HTTP-request url not correct

Following javascript code: <script type="text/javascript" charset="utf-8"> function goForLogin() { var xmlhttp; xmlhttp=new XMLHttpRequest(); ...
0
votes
1answer
395 views

How to pass variable objects to multiple javascript popup forms

This is my first serious foray into javascript/ajax. Overview: I have an index page listing multiple records, each on different rows. For each record I have a link which pops open a small javascript ...
0
votes
1answer
101 views

symfony jQuery keyup strange situation

I have simple comment form . I put char-counter . When i create new comment all work fine. When i try to edit comment ,char-counter doesnt work.I tried whit Live(), but result is the same. Other Js in ...
1
vote
2answers
665 views

Defer loading JavaScript in Symfony 1.4

I'm trying to optimize a Symfony 1.4 project and one thing that I would like to do is to defer JavaScript loading. I'm using the use_javascript() function to include files from inside templates. Does ...
0
votes
1answer
216 views

Can Aptana recognize variables/functions defined in other files?

I'm using Aptana as my IDE while developing a Symfony (1.4) site. I have multiple JS files linked to each page (one with layout-specific scripts and one with page specific scripts.). When I edit these ...
0
votes
1answer
158 views

Where should I put the returned text action or javascript?

In Symfony 1.4, if I want to send some text to render through an AJAX request, where should I put text in the action and send it to Javascript to render put the text in Javascript I want to know ...
0
votes
3answers
366 views

Javascript floating Symfony partial

I have to implement a functionality for a web application that provides an easy way to select an element between thousands of them. Now i have a select input in a form where the user selects the ...
0
votes
1answer
24 views

Automatic introduce the last part of a time field

How can I automatically introduce, in a time field, the last two digits from time. What i mean is I write 16: in the field and it automatically puts the last 00. Something in javascript? thank you
0
votes
1answer
853 views

symfony - populating multiple drop down select lists (AJAX) - UPDATED

I have a form, with 2 fields, that are select lists. I need to select an option from select_list_1 that then populates select_list_2 I have the following in my template: <script ...
0
votes
0answers
104 views

please help me! my symfony assignment struggling to complete [closed]

I am new to it-prof, i joined in company now am learning symfony1.4, i completed upto half, in between they told to seminar classes, while taking they asking some question , ican't answered for that, ...
1
vote
1answer
412 views

Symfony 1.4: Call to undefined function visual_effect()

I am moving a project from SF 1.3.6 to Symfony 1.4. I am using statements like the one below, very frequently in my code: link_to_function('[Cancel]', visual_effect('blind_up', ...
0
votes
3answers
674 views

Symfony 1.3.6 - javascript popup windw - how?

I am using SF 1.3.6. I have some static text files (HTML) that I want to be able to display in a popup window. I tried this: <a href="javascript:showPopup('foobar.html', 'all about ...
0
votes
2answers
781 views

customising the symfony view.yml file

I have a question regarding the view.yml file in Symfony. Basically I would like to be able to include certain javascript SDKs in my layout with the help of the view.yml file like so: first i would ...
2
votes
2answers
2k views

How is the force reload of javascript/css done in Symfony?

After reading this thread: http://stackoverflow.com/questions/118884/what-is-an-elegant-way-to-force-browsers-to-reload-cached-css-js-files I would like to know if there is any built-in function or ...