search for: appendto

Displaying 3 results from an estimated 3 matches for "appendto".

2012 Mar 24
1
Append to file in loop
...sep='' (ie, white space) I want to append 'XFile' at the end of those files. XFile is also on disk. file.append("file_1.saam", "XFile.saam"); file.append("file_2.saam", "XFile.saam")... works but it would be tedious when I have 100 files to appendTo. Your help will be greatly appreciated. -- Luisin Galindo, PhD Director, Departamento de Medicina Matematica Centro de Estudios Avansados en Simulacion, Analysis, y Modelacion Puerto Castilla, Spanish Honduras Centro America [[alternative HTML version deleted]]
2009 Aug 23
0
Best way of moving some jQuery from a view helper
...ome jQuery code that I would like to move out of the helper method. I am trying to move it to application.js but it will probably end up in a different file. I have two reasons for wanting to do this. 1) I want to keep all my jQuery code seperate to my HTML code 2) I want to change the append to an appendTo so I can add a highlight effect, appendTo which is proving awkward to achieve in the helper. [code] def link_to_create_address(form_builder) link_to_function ''New address'', {:id => ''new_address_link''} do |page| form_builder.fields_for :addresses,...
2011 May 04
0
using jquery datepicker within a jquery dialog
...ion.js file as well as the datepicker js is as follows: $(function() { $("#version_release_date").datepicker({dateFormat: ''yy-mm-dd''}); }); $(document).ready(function() { $(''a.popup'').click(function() { $(''<div />'').appendTo(''body'').load($(this).attr(''href'') + '' form'').dialog({ title: $(this).text() } }); return false; }); }); now the first function works fine if I just go straight to that page but if the page is re...