The forum operates in read-only mode. Please head to StackOverflow for support.
Hello,how to change save an cancel button as the two buttons on the left sidei could find it in which *.js of the fckeditor.thx
OK, it is part of JSi figure this outbut it seems to be the right syntax
<script type="text/javascript"> ////set all the FCKeditor configuration here and pass it to the editable var oFCKeditor = new FCKeditor( 'edit-menge') ; oFCKeditor.Config['ToolbarStartExpanded'] = false; oFCKeditor.Width = 80; oFCKeditor.Height = 50; oFCKeditor.ToolbarSet = 'SetBklein' ; oFCKeditor.BasePath = "js/fckeditor/" ; $('.menge<?php echo $id_inhaltsstoffartnr; ?>').editable( { type: 'wysiwyg', editor: oFCKeditor, onSubmit:function (menge){ $.ajax({ type: "POST",url: "set-save.php", data: {"menge": menge.current, "pid":pid} , complete: function(){ alert('>> gespeichert <<') }, //manage the complate if needed success: function(html){ }//get some data back to the screen if needed }); //close $.ajax( }, //submit:'save', //cancel:'cancel' submit:('<input id="image-link-accept" type="submit" />'), cancel:('<input id="image-link-cancel" type="reset" />') }); </script>
Re: How to change Save an Cancel Button
Re: How to change Save and Cancel Button
OK, it is part of JS
i figure this out
but it seems to be the right syntax
Re: How to change Save and Cancel Button