similar to: is there something like addslashes and stripslashes in prototype

Displaying 20 results from an estimated 900 matches similar to: "is there something like addslashes and stripslashes in prototype"

2007 Sep 28
1
evalJSON problem
Hey there, I have a FCKeditor(a WYSIWYG online html editor) and i want to bring it to a page by Ajax and JSON by a php request-catcher. I have sth like this in my ajax request: new Ajax.Request(''myactions.php'', { method:''get'', parameters: {action:''bringeditor'', id:<?php echo $uid; ?>}, onSuccess: function(transport){
2008 Jan 04
7
1.6 cheatsheet
Hey has anyone seen a 1.6 cheatsheet around? Johnathan Snook did a nice 1.5 one but I''ve been working with 1.6 for a while and while I can use prototypejs.org, cheatsheets are handy for jogging memories.. I checked his blog, nothing there for 1.6. Gareth --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups
2007 Sep 14
6
Spam?
Hey Guys, I just joined this list a couple days ago...what''s up with all the spam? I maintain about 8 or so googlegroups lists and have never received any <cross fingers>. Is this something to (unfortunately) look forward to? -- ______________________________________________________________ Clayton Dukes ______________________________________________________________
2008 Nov 28
1
True ActiveRecord result set iteration
Hello, For an internal project we were looking for a solution which extends ActiveRecord by an iterator function. Using find(:all) is no fun if you have to process some 10.000 records. Until now there have been two ways of dealing with that scenario: - write your logic a second times (e.g. use stored procedure) - bet on AR plugins which work around that limitation by fetching IDs and
2007 Jul 26
4
populate select box by ajax query with Prototype and IE7
Trying to populate a select box with a value passed in from another select box works great in Firefox, but using IE nothing happens, no data is getting returned back. I commented everything out and put alerts in there and the alerts work in IE but when ajax is getting used it seems to just die...Is this a bug or what am I doing wrong? --~--~---------~--~----~------------~-------~--~----~ You
2013 Jun 11
1
cluster.min-free-disk working?
Hi, have a system consisting of four bricks, using 3.3.2qa3. I used the command gluster volume set glusterKumiko cluster.min-free-disk 20% Two of the bricks where empty, and two were full to just under 80% when building the volume. Now, when syncing data (from a primary system), and using min-free-disk 20% I thought new data would go to the two empty bricks, but gluster does not seem
2003 Dec 29
1
Agent setup
Dear Group, I have been successful in setting up the Agents, queues and getting agents to log in. Is there a way that I could configure the system so that the agent is called back. i.e. the agent logs into the system, a call is destined for them and their phone rings. If some one has this setup I would be very interested in hearing from them. Warm Regards and Thanks --------------- Shad
2008 Jun 19
2
Capturing draggable revert
I''ve seen a few posts about this, but no answers. I would like to be able to call a function when a draggable revert occurs. What I''m trying to do is replace a photo with an icon on drag (which I''ve accomplished), but I need to swap it back if the revert fires. I really, really wish there were an onRevert() option, but there isn''t, so I guess I''ll
2008 Feb 26
2
bash - safely pass untrusted strings?
In bash, given a string assignment as follows, how do I "add slashes" automagically, so that it can be safely passed to another program? Notice that the assignment contains spaces, single-quotes and double-quotes, maybe god-only-knows-what-else. It's untrusted data. Yet I need to pass it all *safely*. The appropriate function in PHP is addslashes(); but what is the bash
2007 Jul 10
6
Having trouble using data returned by Ajax.request
Hello everyone, I''m new here. I''ve been working with prototype and plotr for about a month now, off and on, and I have pretty much hit the wall on using the data returned by Ajax.Request. I''m using some php code to return a string: {''foo'': [[0,0.0865334429075127], [1,0.0828179861705063], [2,0.0828173042602942], [3,0.0841707718624196]]} But I keep
2013 Dec 10
4
Structure needs cleaning on some files
Hi All, When reading some files we get this error: md5sum: /path/to/file.xml: Structure needs cleaning in /var/log/glusterfs/mnt-sharedfs.log we see these errors: [2013-12-10 08:07:32.256910] W [client-rpc-fops.c:526:client3_3_stat_cbk] 1-testvolume-client-0: remote operation failed: No such file or directory [2013-12-10 08:07:32.257436] W [client-rpc-fops.c:526:client3_3_stat_cbk]
2008 May 30
6
Session problem
Hello everyone, I am just starting a project for school in RoR and I am a complete n00b ^^ Here''s my problem : I need to get the user''s login stored in the session but for some reason I cannot. Here''s my login method code : def login if request.post? @user = User.find_by_username(params[:login]) if @user and @user.password_is? params[:password]
2007 Jun 10
2
Problem replacing form element with another form
Having a strange problem with replacing a form with another form. If I do this Element.replace("some_form_id", "<form>dummy text</form>") where "some_form_if" is the id of a form element only the text between the form tags is inserted, not the form tags. Tend to think I must be doing something dumb, as can''t find any discussions on this anywhere.
2011 Feb 17
16
Unindent ERB output
Hi all, I''d like to unindent a block of ERB specifically to combat the extra spacing being added to content inside <textarea> by the browser. Is there such a feature in ERB? I shall denote indentation with underscores in the pseudo code example below. Thanks in advance, Khoan. myview.erb: <html ...> __<%= render ''form'' %> </html>
2007 Jun 22
5
assert_select trying to verify the presence of a textarea
Hello, One of my functional tests looks like this: def test_presence_of_free_text profile = Profile.find :first post :edit, {:id => profile.id} assert_select "textarea", :name => "record[free_text_ec]" end The test results in a failure, because the element cannot be found. I''m pretty sure the element should be there, and I''ve tried
2007 Apr 13
2
inplace editor and textarea
Hi, I have an inplace editor and I can access the innerHTML value of the created form. However the innerHTML gives "<textarea>....</textarea> ..." How can I access the textarea value? I tried to do innerHTML.textarea.value but it didn''t work. Any ideas will be appreciated. Thanks, Joe -- Posted via http://www.ruby-forum.com/.
2007 Mar 15
8
in-place-editor
hi @ all how can i save my edited text in the database with php? thanks for your support --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send
2007 Aug 25
2
insert HTML <select> value into a textarea - Works in IE6, not in FireFox or Opera
I have a simple form at http://mstramba.com/fb5.html It''s just a <select> and a textarea. The idea is to be able to either type into a text area directly or choose from a list of saved words in the select box. When a new choice is made from the select, it automatically gets inserted into the text area. This code DOES work in I.E6 (on my machine (XP pro), but doesn''t
2006 Apr 14
11
Whats the best Ajax way to update a textarea''s text?
I am looking for a way to update the text-value within a textarea from an Ajax render call inside of a controller. Is there a way to do this without rendering an the partial containing the textarea? Thanks, Andy -- Posted via http://www.ruby-forum.com/.
2006 Mar 10
4
Problem with ajax and textareas on firefox but works on IE
Hi folks, I''ve been trying to figure this one out for a few hours now and can''t seem to understand what I might be doing wrong here. Basically, I have a textarea which has a little icon next to it which will fire off a reset of the original comment if pressed. It works under IE so that when the user types some garbase in to the textarea, and clicks the icon, the contents