My favorites | Sign in
Project Logo
                
Details: Show all Hide all

Last 30 days

  • Dec 26, 2009
    issue 37 (Spaces aren't preserved when sent via post) reported by mikeinidaho   -   What steps will reproduce the problem? 1. Type in two workds and returned at one (is "Test It" comes back as "TestIt" 2. Using classic asp 3. script I am using is $(".editme").editInPlace({ url: "lab_pricing_ajx_edit.asp", params: "ID=test", show_buttons: true }); on "lab_pricing_ajx)edit.asp I am just using request.form("update_value") What is the expected output? What do you see instead? What version of the product are you using? On what operating system? Please provide any additional information below. Thank you!
    What steps will reproduce the problem? 1. Type in two workds and returned at one (is "Test It" comes back as "TestIt" 2. Using classic asp 3. script I am using is $(".editme").editInPlace({ url: "lab_pricing_ajx_edit.asp", params: "ID=test", show_buttons: true }); on "lab_pricing_ajx)edit.asp I am just using request.form("update_value") What is the expected output? What do you see instead? What version of the product are you using? On what operating system? Please provide any additional information below. Thank you!
  • Dec 18, 2009
    issue 36 ([patch] Prevent two inline editors on the same dom element) reported by mhaecker   -   Having two inline editors on the same dom element at the same time could be troublesome - so we needed a way to prevent this. jqueries dom storage to the rescue - and there came this patch from.
    Having two inline editors on the same dom element at the same time could be troublesome - so we needed a way to prevent this. jqueries dom storage to the rescue - and there came this patch from.
  • Dec 17, 2009
    issue 21 (Feature Request: Make select_options expect an array value) commented on by FrankEBailey   -   Hey warpkat, I'd be very keen to see your solution to this, as longer dropdowns make the code very dense, and I've tried a couple of ways of achieving the result but my Javascript skills aren't too hot. Thanks in advance!
    Hey warpkat, I'd be very keen to see your solution to this, as longer dropdowns make the code very dense, and I've tried a couple of ways of achieving the result but my Javascript skills aren't too hot. Thanks in advance!
  • Dec 11, 2009
    issue 35 (Crashing IE7 with edit-in place) reported by mhaecker   -   What steps will reproduce the problem? 1. run the attached reduction in ie 7 2. move the mouse slowly up and down over the included foos 3. see ie die What is the expected output? What do you see instead? I expecte ie not to die. This may very well be a security problem. What version of the product are you using? On what operating system? All versions of the inline editor I tested
    What steps will reproduce the problem? 1. run the attached reduction in ie 7 2. move the mouse slowly up and down over the included foos 3. see ie die What is the expected output? What do you see instead? I expecte ie not to die. This may very well be a security problem. What version of the product are you using? On what operating system? All versions of the inline editor I tested
  • Dec 11, 2009
    issue 34 (Use CSS class for hover effects) reported by felix.sc...@agile42.com   -   Currently you can only use a background color for the hover effect. However a CSS class would be more flexible.
    Currently you can only use a background color for the hover effect. However a CSS class would be more flexible.

Older

  • Dec 03, 2009
    issue 33 (Demo page..) reported by pierre.cholhot   -   Demo page vulnerable: What steps will reproduce the problem? 1. go to http://davehauenstein.com/code/jquery-edit-in-place/example/ 2. type <h1>hi What is the expected output? What do you see instead? &lt;h1&gt;hi - or an escaped string i see a big heading What version of the product are you using? On what operating system? chrome 4 / windows Please provide any additional information below. No big issue on your project, each developer using this plugin should be auto sanitizing user's input without you adding filters. This is for the security of your own website/demo page/server.
    Demo page vulnerable: What steps will reproduce the problem? 1. go to http://davehauenstein.com/code/jquery-edit-in-place/example/ 2. type <h1>hi What is the expected output? What do you see instead? &lt;h1&gt;hi - or an escaped string i see a big heading What version of the product are you using? On what operating system? chrome 4 / windows Please provide any additional information below. No big issue on your project, each developer using this plugin should be auto sanitizing user's input without you adding filters. This is for the security of your own website/demo page/server.
  • Nov 24, 2009
    issue 32 (when a field is empty i can not edit it) reported by sl.solaris   -   i can not edit an empty field.. please help me... This code becomes obsolete if it does not do it
    i can not edit an empty field.. please help me... This code becomes obsolete if it does not do it
  • Nov 23, 2009
    issue 31 ([want] hover only inline editor) reported by mhaecker   -   For our current application I changed the behaviour of the inline editor quite substantially by showing the inline editing ui only while the mouse hovers on the text. (To give the users additional hints that they can change this value). I was able to implement this by submitting to a function (I needed that anyway), discarding the edit if it didn't change anything and adding this jquery code beforehand: showAndHideInlineEditorsOnHover: function() { this.dom('span').hover( function(){ $(this).click(); }, function(){ $(this).find(':input').submit(); }); }, All editables are in span. However this is so useful that I gather this should be inside the plugin proper. Regards, Martin
    For our current application I changed the behaviour of the inline editor quite substantially by showing the inline editing ui only while the mouse hovers on the text. (To give the users additional hints that they can change this value). I was able to implement this by submitting to a function (I needed that anyway), discarding the edit if it didn't change anything and adding this jquery code beforehand: showAndHideInlineEditorsOnHover: function() { this.dom('span').hover( function(){ $(this).click(); }, function(){ $(this).find(':input').submit(); }); }, All editables are in span. However this is so useful that I gather this should be inside the plugin proper. Regards, Martin
  • Nov 23, 2009
    issue 29 (Missing var creates global variable) commented on by mhaecker   -   patch attached
    patch attached
  • Nov 23, 2009
    issue 30 (If callback returns an empty string, edit in place always al...) reported by mhaecker   -   What steps will reproduce the problem? 1. Create an editInPlace with a callback, e.g. something like this view.dom('.remaining_time').editInPlace({ default_text: ' ', callback: function(unusedElementID, newContent, oldContent){ view.didEndInlineEditForField(newContent, 'remaining_time', view.nonFloatRejectingParser); return newContent; } }); 2. try to enter an empty string into this editable 3. see the errro message apear (that cannot be overriden by setting the 'error' option What version of the product are you using? On what operating system? 1.0.1
    What steps will reproduce the problem? 1. Create an editInPlace with a callback, e.g. something like this view.dom('.remaining_time').editInPlace({ default_text: ' ', callback: function(unusedElementID, newContent, oldContent){ view.didEndInlineEditForField(newContent, 'remaining_time', view.nonFloatRejectingParser); return newContent; } }); 2. try to enter an empty string into this editable 3. see the errro message apear (that cannot be overriden by setting the 'error' option What version of the product are you using? On what operating system? 1.0.1
  • Nov 23, 2009
    issue 29 (Missing var creates global variable) reported by mhaecker   -   On line 205 you assign to html - which creates a global variable. Add var to fix it. :) fixed line: var html = settings.callback(original_element.attr("id"), new_html, original_html, settings.params); Regards, Martin
    On line 205 you assign to html - which creates a global variable. Add var to fix it. :) fixed line: var html = settings.callback(original_element.attr("id"), new_html, original_html, settings.params); Regards, Martin
  • Nov 12, 2009
    issue 26 (use toggleClass instead of background color) commented on by i...@patchworkmedia.co.uk   -   just as a workaround for this. You could add this param: success: (function() { $('.edit').each(function (idx,el){ el.style.background=''; this stops that background from being set and allows the original background settings set from a class in the style sheet to come through..
    just as a workaround for this. You could add this param: success: (function() { $('.edit').each(function (idx,el){ el.style.background=''; this stops that background from being set and allows the original background settings set from a class in the style sheet to come through..
  • Nov 11, 2009
    issue 28 (Select submits on click in Chrome 4.0.223.16) reported by a...@swashmedia.com   -   What steps will reproduce the problem? 1. Update chrome to the latest version (currently as listed in title) 2. Click a select based in-place-editor element 3. Text becomes select list, click to drop-down the select list What is the expected output? What do you see instead? The value is submitted and the ajax response returned when you would expect the drop-down list of options to appear. What version of the product are you using? On what operating system? jquery-in-place-editor 1.0.1, windows vista Please provide any additional information below. This was working perfectly before chrome auto-updated.
    What steps will reproduce the problem? 1. Update chrome to the latest version (currently as listed in title) 2. Click a select based in-place-editor element 3. Text becomes select list, click to drop-down the select list What is the expected output? What do you see instead? The value is submitted and the ajax response returned when you would expect the drop-down list of options to appear. What version of the product are you using? On what operating system? jquery-in-place-editor 1.0.1, windows vista Please provide any additional information below. This was working perfectly before chrome auto-updated.
  • Nov 08, 2009
    issue 27 (element_id gives no output) reported by 04nunhucks   -   What steps will reproduce the problem? 1. echo $_POST['element_id'] 2. 3. What is the expected output? What do you see instead? The element id of the posted form What version of the product are you using? On what operating system? 1.0.1 Linux/PHP/Apache 2.2 || Please provide any additional information below.
    What steps will reproduce the problem? 1. echo $_POST['element_id'] 2. 3. What is the expected output? What do you see instead? The element id of the posted form What version of the product are you using? On what operating system? 1.0.1 Linux/PHP/Apache 2.2 || Please provide any additional information below.
  • Oct 15, 2009
    issue 26 (use toggleClass instead of background color) reported by aplennevaux   -   For the sake of separating style and behaviour, it would be better to use a toggleClass() functionality instead of a background-color value. In other words, the bg_out and bg_over parameters should receive a class name instead of a color code.
    For the sake of separating style and behaviour, it would be better to use a toggleClass() functionality instead of a background-color value. In other words, the bg_out and bg_over parameters should receive a class name instead of a color code.
  • Oct 14, 2009
    issue 25 (Feature Request: Check for existing input before opening up...) reported by warpkat   -   Problem: Having multiple EIP fields on a form can have adverse effects if multiple fields are open at one time since the inputs are all named the same. Feature Request: Check for an existing, active input field. If one exists, don't open up the field clicked. Send an alert instead and set focus to the existing field.
    Problem: Having multiple EIP fields on a form can have adverse effects if multiple fields are open at one time since the inputs are all named the same. Feature Request: Check for an existing, active input field. If one exists, don't open up the field clicked. Send an alert instead and set focus to the existing field.
  • Oct 14, 2009
    issue 24 (Empty String with Callback) reported by michael.geers2   -   If you are using the callback function you don't have the possibility to return an empty string. You get a hardcoded alert. I've attached a patch which restores the default value.
    If you are using the callback function you don't have the possibility to return an empty string. You get a hardcoded alert. I've attached a patch which restores the default value.
  • Oct 13, 2009
    issue 23 (PATCH: Addresses issues 21 and 22) reported by warpkat   -   This patch provides a stock v1.0.1 with the following functionality: Issue #21: allows for options to be in an array (first) OR in a comma-delimited dataset. (Works for either one) Issue #22: allows the use of hot or speed keys for extended ASCII characters - define hot_keys in the setup for the element with a comma-delimited dataset of extended ASCII characters and a selection will appear below the text field. Note: show_buttons must be true so that clicking the symbols will not cause the field to auto-submit. An altered version of this plug-in with the changes above is also supplied.
    This patch provides a stock v1.0.1 with the following functionality: Issue #21: allows for options to be in an array (first) OR in a comma-delimited dataset. (Works for either one) Issue #22: allows the use of hot or speed keys for extended ASCII characters - define hot_keys in the setup for the element with a comma-delimited dataset of extended ASCII characters and a selection will appear below the text field. Note: show_buttons must be true so that clicking the symbols will not cause the field to auto-submit. An altered version of this plug-in with the changes above is also supplied.
  • Oct 13, 2009
    issue 22 (Feature Request: Special ASCII Hot Keys for Text Fields) commented on by warpkat   -   Disregard - I think I got this working - a bit more testing and I'll supply the patch along with the other one for the array selections.
    Disregard - I think I got this working - a bit more testing and I'll supply the patch along with the other one for the array selections.
  • Oct 12, 2009
    issue 21 (Feature Request: Make select_options expect an array value) commented on by warpkat   -   Disregard this - I already have a fix for this one. I'll submit a patch later.
    Disregard this - I already have a fix for this one. I'll submit a patch later.
  • Oct 12, 2009
    issue 22 (Feature Request: Special ASCII Hot Keys for Text Fields) commented on by warpkat   -   I have this bit of code added for the settings.field_type = "text": if( settings.hot_keys ) { use_field_type += "<br><table><tr><td>Speed Keys</td><td>"; var hotkeysArray = settings.hot_keys.split(','); for( var i=0; i<hotkeysArray.length; i++ ) { var hotkeysValuesArray = hotkeysArray[i].split(':'); var use_value = hotkeysValuesArray[1] || hotkeysValuesArray[0]; var thisChar = String.fromCharCode( use_value ); use_field_type += '<b OnClick="">[' + thisChar + ']</b> '; } use_field_type += "</td></tr></table>"; } The only piece I'm missing now is the OnClick part. Any further help on this would be greatly appreciated. :)
    I have this bit of code added for the settings.field_type = "text": if( settings.hot_keys ) { use_field_type += "<br><table><tr><td>Speed Keys</td><td>"; var hotkeysArray = settings.hot_keys.split(','); for( var i=0; i<hotkeysArray.length; i++ ) { var hotkeysValuesArray = hotkeysArray[i].split(':'); var use_value = hotkeysValuesArray[1] || hotkeysValuesArray[0]; var thisChar = String.fromCharCode( use_value ); use_field_type += '<b OnClick="">[' + thisChar + ']</b> '; } use_field_type += "</td></tr></table>"; } The only piece I'm missing now is the OnClick part. Any further help on this would be greatly appreciated. :)
  • Oct 12, 2009
    issue 22 (Feature Request: Special ASCII Hot Keys for Text Fields) reported by warpkat   -   On a PHP app I wrote, I have some PHP-generated text fields that can have hot-keys associated with some special characters. Clicking on the characters concatenates the value in the field with the special ASCII character. Examples of the special characters would be degrees, the plus/minus, etc.
    On a PHP app I wrote, I have some PHP-generated text fields that can have hot-keys associated with some special characters. Clicking on the characters concatenates the value in the field with the special ASCII character. Examples of the special characters would be degrees, the plus/minus, etc.
  • Oct 12, 2009
    issue 21 (Feature Request: Make select_options expect an array value) reported by warpkat   -   Make the select_options expect an array value instead of a comma-delimited value set. This should make jQuery/Javascript code look a bit cleaner.
    Make the select_options expect an array value instead of a comma-delimited value set. This should make jQuery/Javascript code look a bit cleaner.
  • Oct 12, 2009
    issue 20 (Feature Request: field_type: "date") reported by warpkat   -   http://jqueryui.com/demos/datepicker/
  • Oct 01, 2009
    issue 19 (Callback & success don't play together?) reported by netfrugal   -   Here's what I have: $("#SomeID").editInPlace({ params:"formID=updateMyAccount", url: "examples/editinplace_server.php", saving_image: "/images/loaders/ajax-loader-green.gif", field_type: "text", on_blur: "null", value_required: true, callback: function(original_element, html, original){ $("#someDiv1").html("The id is: " + original_element); }, success: function(response){ $("#someDiv2").html(response); return(html); }, // this part is unfinished. error: function(){ alert('something is wrong with the server'); } }); Seems I can't use both the "callback" & "success". Unless I'm formatting them wrong. But I continually get a "Failed to save value" error. However, when I comment out the callback, the success works just fine. Am I using the callback incorrectly? What does the callback do? The Project page says it cancels the submission. Does anyone actually need to do that? Or is that useful for validating the form first, and cancels the submission if the data isn't valid?
    Here's what I have: $("#SomeID").editInPlace({ params:"formID=updateMyAccount", url: "examples/editinplace_server.php", saving_image: "/images/loaders/ajax-loader-green.gif", field_type: "text", on_blur: "null", value_required: true, callback: function(original_element, html, original){ $("#someDiv1").html("The id is: " + original_element); }, success: function(response){ $("#someDiv2").html(response); return(html); }, // this part is unfinished. error: function(){ alert('something is wrong with the server'); } }); Seems I can't use both the "callback" & "success". Unless I'm formatting them wrong. But I continually get a "Failed to save value" error. However, when I comment out the callback, the success works just fine. Am I using the callback incorrectly? What does the callback do? The Project page says it cancels the submission. Does anyone actually need to do that? Or is that useful for validating the form first, and cancels the submission if the data isn't valid?
  • Sep 29, 2009
    issue 18 (callback does not receive original_element but original_elem...) reported by mvanschaik   -   If I set a callback function (like on the demo page), it makes more sense to pass that the original_element instead of the original_elemten's ID; // Using a callback function to update 2 divs $(".editme4").editInPlace({ callback: function(original_element, html, original){ ... return(html); } }); It would be usefull to have a reference to the original object edited. Changing line 205 to: html = settings.callback(original_element, new_html, original_html, settings.params); solves this for me (removed .attr("id") from original_element)
    If I set a callback function (like on the demo page), it makes more sense to pass that the original_element instead of the original_elemten's ID; // Using a callback function to update 2 divs $(".editme4").editInPlace({ callback: function(original_element, html, original){ ... return(html); } }); It would be usefull to have a reference to the original object edited. Changing line 205 to: html = settings.callback(original_element, new_html, original_html, settings.params); solves this for me (removed .attr("id") from original_element)
  • Sep 17, 2009
    issue 5 (activate the editor by a separate link) commented on by buxus85   -   Hi, I was also trying to do this on link or button... and I used the same method like rdccr05, but still you are abled to edit text onClick on text you are editing, which i didn't like :P so, I get to an idea to not initialize new editInPlace object on page load... instead, I would initialize editInPlace on button clik, but I have a problem now... how to unload created object on cancel button :D here is example what did i do: HTML in your web page where you want to edit text (forum post for example :P) <input id="first" type="button" onClick="jClick('editClass')" value="Edit Button"/> <p class="editClass">Some text for edit...</p> Custom JS: function cInit(editId) { $(editId).editInPlace({ url: "./server.php", field_type: "textarea", saving_image: "./images/ajax-loader.gif", show_buttons: true }); } function jClick(editId) { jEditing = true; var editIdC = "."+editId; cInit(editIdC); $(editIdC).trigger('click'); } what is the problem now?... the problem is when you click this edit button, every time cInit method is called, so on every click new object is created, and that make confusion in original editiinplace.js...
    Hi, I was also trying to do this on link or button... and I used the same method like rdccr05, but still you are abled to edit text onClick on text you are editing, which i didn't like :P so, I get to an idea to not initialize new editInPlace object on page load... instead, I would initialize editInPlace on button clik, but I have a problem now... how to unload created object on cancel button :D here is example what did i do: HTML in your web page where you want to edit text (forum post for example :P) <input id="first" type="button" onClick="jClick('editClass')" value="Edit Button"/> <p class="editClass">Some text for edit...</p> Custom JS: function cInit(editId) { $(editId).editInPlace({ url: "./server.php", field_type: "textarea", saving_image: "./images/ajax-loader.gif", show_buttons: true }); } function jClick(editId) { jEditing = true; var editIdC = "."+editId; cInit(editIdC); $(editIdC).trigger('click'); } what is the problem now?... the problem is when you click this edit button, every time cInit method is called, so on every click new object is created, and that make confusion in original editiinplace.js...
  • Sep 10, 2009
    issue 5 (activate the editor by a separate link) commented on by rdccr05   -   Hello, I used the function trigger (type, data). enabling the property "show_buttons Ex: $(document).ready(function(){ $("#editLink").click(function(){ $(".editme2").trigger('click'); }) $(".editme2").editInPlace({ url: "./server.php", bg_over: "#cff", field_type: "textarea", textarea_rows: "15", textarea_cols: "35", show_buttons: true, }); });
    Hello, I used the function trigger (type, data). enabling the property "show_buttons Ex: $(document).ready(function(){ $("#editLink").click(function(){ $(".editme2").trigger('click'); }) $(".editme2").editInPlace({ url: "./server.php", bg_over: "#cff", field_type: "textarea", textarea_rows: "15", textarea_cols: "35", show_buttons: true, }); });
  • Sep 09, 2009
    issue 8 (textarea doesnt recognize newline) commented on by in2clearsky   -   use nl2br() in .php file
    use nl2br() in .php file
  • Sep 08, 2009
    issue 17 (Here's a patch to prevent submission if no data changed) reported by tlainvestments   -   I have data in the cells I'm letting the person edit. If they click the cell, then tab out or click on another cell without changing anything, there's no reason for an AJAX round trip or any notification to the user. I have patched your great plugin to provide this functionality. The default behavior is unchanged, but if the save_on_unchanged setting is supplied and set to false, the new behavior will be exhibited. On a side note, using jquery.growl.js in the success callback is really cool, and was the motivation for this modification - no reason to growl a save when nothing was actually done. The attached file has a patch as well as the full script with the change. Thanks! -Troy
    I have data in the cells I'm letting the person edit. If they click the cell, then tab out or click on another cell without changing anything, there's no reason for an AJAX round trip or any notification to the user. I have patched your great plugin to provide this functionality. The default behavior is unchanged, but if the save_on_unchanged setting is supplied and set to false, the new behavior will be exhibited. On a side note, using jquery.growl.js in the success callback is really cool, and was the motivation for this modification - no reason to growl a save when nothing was actually done. The attached file has a patch as well as the full script with the change. Thanks! -Troy
  • Aug 30, 2009
    issue 8 (textarea doesnt recognize newline) commented on by ddascalescu   -   Enter <br> to get a newline.
    Enter <br> to get a newline.
  • Aug 30, 2009
    issue 7 (Re: encodeURIComponent issue) commented on by ddascalescu   -   Duplicate of issue #4.
    Duplicate of issue #4.
  • Aug 30, 2009
    issue 6 (encodeURIComponent issue) commented on by ddascalescu   -   Duplicate of issue #4.
    Duplicate of issue #4.
  • Aug 30, 2009
    issue 16 (Option to set size of text input field) reported by ddascalescu   -   Go to the demo (http://davehauenstein.com/code/jquery-edit-in-place/example/) and edit Example 1, the standard text box. Notice how the text box is too small for the edited line (only ~20 characters). It would be nice to have this larger by default, or to take a 'size' parameter when initializing the inplace editor.
    Go to the demo (http://davehauenstein.com/code/jquery-edit-in-place/example/) and edit Example 1, the standard text box. Notice how the text box is too small for the edited line (only ~20 characters). It would be nice to have this larger by default, or to take a 'size' parameter when initializing the inplace editor.
  • Aug 19, 2009
    issue 15 (Rich Text Editors) reported by i...@zangproductions.co.uk   -   This isnt really an issue as such, but... I have used a form with a rich text editor (FCKeditor) to add entries in the database I want to be able to edit these entries using the in place editor. I have it working without the RTE, any ideas on how to integrate one into the page once the data has been click on, and then how to pass that data back?
    This isnt really an issue as such, but... I have used a form with a rich text editor (FCKeditor) to add entries in the database I want to be able to edit these entries using the in place editor. I have it working without the RTE, any ideas on how to integrate one into the page once the data has been click on, and then how to pass that data back?
  • Aug 18, 2009
    issue 14 (Suggesstion box ( autocomlete using jquery )) commented on by mayank.bhadauria   -   jquery-in-place-editor-v1.0.1.zip mac-os
    jquery-in-place-editor-v1.0.1.zip mac-os
  • Aug 18, 2009
    issue 14 (Suggesstion box ( autocomlete using jquery )) reported by mayank.bhadauria   -   I would like to add autocomplete feature (suggestion box) on edit text box. i have update script and added id="'+$(this).get(0).id+'" to have id of related fields in text boxes but yet unable to accomplish my job What steps will reproduce the problem? 1. 2. 3. What is the expected output? What do you see instead? autocompleted text boxes. no response. What version of the product are you using? On what operating system? Please provide any additional information below. suggestion box feature works properly while use it on test field normally.
    I would like to add autocomplete feature (suggestion box) on edit text box. i have update script and added id="'+$(this).get(0).id+'" to have id of related fields in text boxes but yet unable to accomplish my job What steps will reproduce the problem? 1. 2. 3. What is the expected output? What do you see instead? autocompleted text boxes. no response. What version of the product are you using? On what operating system? Please provide any additional information below. suggestion box feature works properly while use it on test field normally.
  • Aug 18, 2009
    issue 12 (& is not uri-escaped.) commented on by shaun.webster   -   Thanks qalexx your saved me many hours of headache. :-)
    Thanks qalexx your saved me many hours of headache. :-)
  • Aug 18, 2009
    issue 5 (activate the editor by a separate link) commented on by shaun.webster   -   I would also like to know how to activate with link.
    I would also like to know how to activate with link.
  • Aug 14, 2009
    issue 4 (any information submitted after an ampersand is lost) commented on by s...@9clients.com   -   We had a lot of trouble saving Pound signs (£) Just in case anyone else has the same problem, I will record our solution here. The problem was it would save okay (eg. to database) and return okay once updated. But when the page refreshed later, we would get A£. We tried encoding, decoding both in Javascript and our server-side language PHP. In actual fact, it was to do with the character encoding of our page. We had meta tag: meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" Instead of: meta http-equiv="Content-Type" content="text/html; charset=utf-8" So when trying to display a pound sign on an iso-8859-1 page, it showed as A£ Also, where kaolin has indicated above, we had to use encodeURIComponent() instead of escape() to correctly store the pound sign (£) in our MySQL database. Just thought this might save someone a lot of time.
    We had a lot of trouble saving Pound signs (£) Just in case anyone else has the same problem, I will record our solution here. The problem was it would save okay (eg. to database) and return okay once updated. But when the page refreshed later, we would get A£. We tried encoding, decoding both in Javascript and our server-side language PHP. In actual fact, it was to do with the character encoding of our page. We had meta tag: meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" Instead of: meta http-equiv="Content-Type" content="text/html; charset=utf-8" So when trying to display a pound sign on an iso-8859-1 page, it showed as A£ Also, where kaolin has indicated above, we had to use encodeURIComponent() instead of escape() to correctly store the pound sign (£) in our MySQL database. Just thought this might save someone a lot of time.
  • Aug 14, 2009
    issue 4 (any information submitted after an ampersand is lost) commented on by s...@9clients.com   -   Also, we had to use encodeURIComponent() instead of escape() to correctly store the pound sign (£) in our MySQL database.
    Also, we had to use encodeURIComponent() instead of escape() to correctly store the pound sign (£) in our MySQL database.
  • Aug 14, 2009
    issue 4 (any information submitted after an ampersand is lost) commented on by s...@9clients.com   -   We had a lot of trouble saving Pound signs (£) Just in case anyone else has the same problem, I will record our solution here. The problem was it would save okay (eg. to database) and return okay once updated. But when the page refreshed later, we would get A£. We tried encoding, decoding both in Javascript and our server-side language PHP. In actual fact, it was to do with the character encoding of our page. We had meta tag: meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" Instead of: meta http-equiv="Content-Type" content="text/html; charset=utf-8" So when trying to display a pound sign on an iso-8859-1 page, it showed as A£ Just thought this might save someone a lot of time.
    We had a lot of trouble saving Pound signs (£) Just in case anyone else has the same problem, I will record our solution here. The problem was it would save okay (eg. to database) and return okay once updated. But when the page refreshed later, we would get A£. We tried encoding, decoding both in Javascript and our server-side language PHP. In actual fact, it was to do with the character encoding of our page. We had meta tag: meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" Instead of: meta http-equiv="Content-Type" content="text/html; charset=utf-8" So when trying to display a pound sign on an iso-8859-1 page, it showed as A£ Just thought this might save someone a lot of time.
  • Aug 14, 2009
    issue 9 (Plugin doesn't respect jQuery.noConflict()) commented on by s...@9clients.com   -   I had the same problem. You can quickly fix the script at line 270 after it says /* hit esc key */ Change the $() to be $jq() or whatever else you've set up your noConflict to. Regards, Rich
    I had the same problem. You can quickly fix the script at line 270 after it says /* hit esc key */ Change the $() to be $jq() or whatever else you've set up your noConflict to. Regards, Rich
  • Aug 03, 2009
    issue 12 (& is not uri-escaped.) commented on by qalexx   -   Better use encodeURIComponent() instead of escape(). escape()'d UTF-8 strings unescaped not that smoothly in Perl.
    Better use encodeURIComponent() instead of escape(). escape()'d UTF-8 strings unescaped not that smoothly in Perl.
  • Jul 27, 2009
    issue 13 ( validate on page edited data.) reported by mayank.bhadauria   -   What steps will reproduce the problem? 1. enter any wrong data to text area. 2. 3. Is there any way to get your entered data validated through jquery. What is the expected output? What do you see instead? expected valid data entry. What version of the product are you using? On what operating system? Latest version, on mac os Please provide any additional information below.
    What steps will reproduce the problem? 1. enter any wrong data to text area. 2. 3. Is there any way to get your entered data validated through jquery. What is the expected output? What do you see instead? expected valid data entry. What version of the product are you using? On what operating system? Latest version, on mac os Please provide any additional information below.
  • Jul 18, 2009
    issue 12 (& is not uri-escaped.) commented on by qalexx   -   sorry, thi is duplicate for issue http://code.google.com/p/jquery-in-place- editor/issues/detail?id=4 , feel free to delete it.
    sorry, thi is duplicate for issue http://code.google.com/p/jquery-in-place- editor/issues/detail?id=4 , feel free to delete it.
  • Jul 18, 2009
    issue 12 (& is not uri-escaped.) reported by qalexx   -   What steps will reproduce the problem? 1. go to http://davehauenstein.com/code/jquery-edit-in-place/example/ 2. use edit-in-place control and print here "aaa&bbb" 3. save What is the expected output? What do you see instead? expected "aaa&bbb", instead I see "aaa" What version of the product are you using? On what operating system? v1.0.1 Please provide any additional information below. Line 188 reads var new_html = ... replace it with var new_html = escape(...) and everything works. Patch attached.
    What steps will reproduce the problem? 1. go to http://davehauenstein.com/code/jquery-edit-in-place/example/ 2. use edit-in-place control and print here "aaa&bbb" 3. save What is the expected output? What do you see instead? expected "aaa&bbb", instead I see "aaa" What version of the product are you using? On what operating system? v1.0.1 Please provide any additional information below. Line 188 reads var new_html = ... replace it with var new_html = escape(...) and everything works. Patch attached.
  • Jul 16, 2009
    issue 11 ("cancel" would be a useful on_blur option) reported by escapisam   -   Only options are 'save' and null. To avoid having a cancel button, it would be useful to be able to set the on_blur option to 'cancel'
    Only options are 'save' and null. To avoid having a cancel button, it would be useful to be able to set the on_blur option to 'cancel'
  • Jul 16, 2009
    issue 10 (Does not respect/clobbers normal $.ajax options) reported by escapisam   -   What steps will reproduce the problem? 1. Use $.ajaxSetup to set beforeSend and success functions 2. Use editInPlace editor What is the expected output? What do you see instead? Expect beforeSend and success functions to be called at appropriate times, instead only beforeSend is called, success is not. Tried also setting global:false on the $.editInPlace call to try and ignore the ajaxSetup setting but it ignored that too. What version of the product are you using? On what operating system? In Place Editor Version 1.0.1 jQuery v1.3.2 Firefox 3.0.11, WinXP SP3
    What steps will reproduce the problem? 1. Use $.ajaxSetup to set beforeSend and success functions 2. Use editInPlace editor What is the expected output? What do you see instead? Expect beforeSend and success functions to be called at appropriate times, instead only beforeSend is called, success is not. Tried also setting global:false on the $.editInPlace call to try and ignore the ajaxSetup setting but it ignored that too. What version of the product are you using? On what operating system? In Place Editor Version 1.0.1 jQuery v1.3.2 Firefox 3.0.11, WinXP SP3
  • Jul 14, 2009
    issue 9 (Plugin doesn't respect jQuery.noConflict()) reported by dmarkow   -   What steps will reproduce the problem? 1. Add a "jQuery.noConflict();" call to your code (which will kill any $(...) functionality -- instead, everything has to be called as jQuery(...)) 2. Set up an inPlaceEditor field 3. Click into the field, then hit Escape (nothing happens). Next, hit Enter (the form is submitted as a standard form rather than by Ajax). 4. Remove the "jQuery.noConflict();" call -- everything works great. Using the Error Console in Firefox, it looks like there are hard-coded calls to $(...).
    What steps will reproduce the problem? 1. Add a "jQuery.noConflict();" call to your code (which will kill any $(...) functionality -- instead, everything has to be called as jQuery(...)) 2. Set up an inPlaceEditor field 3. Click into the field, then hit Escape (nothing happens). Next, hit Enter (the form is submitted as a standard form rather than by Ajax). 4. Remove the "jQuery.noConflict();" call -- everything works great. Using the Error Console in Firefox, it looks like there are hard-coded calls to $(...).
 
Hosted by Google Code