On Sep 10, 8:17 pm, 7stud -- wrote:
> Frederick Cheung wrote in post #1021129:
>
> > On Sep 10, 12:18pm, dwormuth wrote:
> >> "operations" )) %>").show()
> >> $("#services").html("<%= escape_javascript(render(:partial => foo ))
> >> %>").show()
>
> >> or
>
> >> $("#services").html("<%= escape_j
Frederick Cheung wrote in post #1021129:
> On Sep 10, 12:18pm, dwormuth wrote:
>> "operations" )) %>").show()
>> $("#services").html("<%= escape_javascript(render(:partial => foo ))
>> %>").show()
>>
>> or
>>
>> $("#services").html("<%= escape_javascript(render(:partial => $
>> (this).data("sectio
Thanks for the quick response. I could use a switch/case structure to
handle the
$("#services").html("<%= escape_javascript(render(:partial => "a" ))
%>").show()
call as there are only 6 partials I need. I have 6 links on the page
that only vary by the "section" value.
I still need some guidance
On Sep 10, 12:18 pm, dwormuth wrote:
> I'm having trouble wrapping my head around the proper syntax to have
> jQuery (in an .js file) grab an HTML attribute and use the value of
> that attribute to load a partial.
>
> HTML fragment:
>
>
> jQuery string (now setting a static partial, I need this
4 matches
Mail list logo