similar to: Get content from HTML element in Rails

Displaying 20 results from an estimated 800 matches similar to: "Get content from HTML element in Rails"

2011 Feb 22
2
tag helper
How can I add specific content inside a tag when I create it using the tag helper? Is there an "inner_html" option? This doesn''t seem to be working. <%= tag(:map, :id => (@module.css_id), :inner_html =>''innerhtml'' ) %> -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to
2004 May 07
4
SIP Wokflow diagram
Hi everybody, I would like to create SIP call flow Diagram under Windows. Is anybody know a program to perform it? I have already Ethereal and I would like an explicit diagram just to show where something have problems... Thanks Ignace
2004 May 17
4
Asterisk Proxy Type
Perhaps stupid question but, is Asterisk a statefull or stateless proxy? Ignace
2004 Apr 26
2
Registering a Grandstream Budgetone with Asterisk from Home
Hello guys, I ask you to share your experience with your BudgeTone 100.... I have my asterisk @ work and I've bought a GrandStream BudgeTone (SIP phone) and I usually use X-Lite I have plugged my BudgeTone into my home network because I want to be called even at home. I succeed to register my X-Lite with Asterisk from home but I can't do that with my BudgeTone. (I don't know
2004 May 03
1
Asterisk & MGCP / NCS
Hi everybody, I have a MTA from Terayon that I try to make run with Asterisk using MGCP channel. The device is running with MGCP 1.0 NCS 1.0 Each time Asterisk try to send a Request (Request Notify, Audit Endpoint....) the device returns error 510 "Protocol Error" Does anybody have already meet this problem and provide me support to make run it ?! (I have already try to change
2004 Apr 23
1
CAPI and Extensions.conf Security problem
Hi, I've installing a AVM Fritz Card in my ASterisk Box I've configured everything and its running perfectly. The problem is that everybody is allow to call through it. Explaination: All users registered in Asterisk can make a call towards the ISDN network But, everybody from the Internet, knowing the extension of CAPI in the dialplan, can call through my Asterisk to any phone
2004 May 05
1
Early B3
Does anybody can explain me what is early B3? Thanks! Ignace
2006 Jun 27
14
iframe ... does it have an innerHTML ?
If I dynamically create a hidden iframe, how could I add a document in a string to that element? e.g., var sDocument = ''<html><head></head><body>Hello world.</body></html>''; I''ve tried several variations of appendChild, innerHTML, document.innerHTML, createTextNode. Argh! _______________________________________________
2006 Jun 27
5
Ajax - Inserting selected elements from request.responseText
After retrieving a URL using an Ajax.Request... function onComplete (request, json) { // request.responseText holds the entire page Only the content contained in elementID = ''source'' is intended for display At this time, the following code works, but it disturbingly copies the entire page from the source URL into the target DIV $(''target'').innerHTML =
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/.
2006 Apr 29
4
Event.observe mystery
Hi, I have a class ''Menu'' with a method ''addItem''. The method (simplified) looks like this: addItem: function(itemId, text) { this.container.innerHTML += ''<div id="''+itemId+''">''+text+''</div>''; Event.observe(itemId, ''mouseover'',
2005 Sep 27
8
prototype.js
Hi *, We don''t know if you guys are the right audience, but we got a problem with prototype.js we need to solve. Essentially, it is a compatibility bug with the IE. We wrote a component so it updates itself periodically using AJAX. we used the prototype.js to accomplish this (using the periodicalUpdater object). now the component works fine using firefox or opera, but NOT with IE. the
2006 Apr 12
11
innerHTML and scripts not running
Hello, I''m having an issue with getting embedded javascript code to actually run when loaded via an Ajax.Request() call and the callback function inserts the generated HTML and js code to my current page. It seems that the javascript code is not properly parsing. For example, I''m using the following function showinfo() to return some html code. function showInfo(go_url){
2006 Jan 30
5
RE: sortable list question
Assuming that $(ids[i]) is the hidden input field, wouldn''t the following line need to reference it as a form element? > $(ids[i]).innerHTML = i; I would assume it should be (the "'''' + " makes it a string, not sure if you can set a form element value to an int, maybe you can): $(ids[i]).value = '''' + i; Or maybe I''m not
2007 Jun 07
4
Effect.Fade and innerHTML?
Hi there, I''m now having an odd problem with Effect.Fade not working based on the innerHTML of a div. Take the following for example... <div id="blah"> Nothing here yet. </div> If I then update "blah", hide it and then fade it in, like so: <script type="text/javascript"> document.getElementById("blah").innerHTML =
2006 May 24
5
best way to return JSON?
I''m using Ajax.Updater to update a select element, and have just discovered that IE doesn''t like having its innerHTML set. I figure instead of a bunch of option tags I can return JSON and parse it to add the options, but I''m not quite sure of the best way to do this.... or any way to do it really :) Could someone point this out to me? Or am I using a totally antiquated
2008 May 21
6
this.initialize has no properties error in Prototype Code
Hi All, I''m a super newbie with Prototype and am trying to implement my first solution using it. This is my code: var span = ''totalViews'' + video_id; var params = ''video_id='' + video_id; Ajax.Response(''trackVideo.php'', { method: ''post'', parameters: params, onSuccess: function(transport) {
2005 Feb 09
3
WinXP won't authenticate
I've looke throught the archives and can't find much to help my situation. I have a Slackware 10 server running Samba 3.0.4 on a Win2k/2K3 Active Directory Domain. My win2k clients can connect to the samba shares but the WinXP clients cannot. I've tried the enableplaintextpassword hreg hack but that doesn't solve the issue. Here is my [global] section of my smb.conf Can anyone
2008 Jul 01
5
Attaching event observers to a series of elements - best practice?
Hi all, New member here. I''ve been working with Prototype for a while, and I love it. However, there''s one thing I still can''t figure out. Let''s say I have an array of objects, representing contacts in an address book: var contacts = [ { id: 1, firstName: "Bob", lastName: "Smith" }, { id: 2, firstName: "Sue", lastName:
2008 May 05
1
get element by property
I''m fairly new to Prototype and I was wondering if anyone can help me out here. i need to search the document for elements with a specific innerHTML. I have the innerHTML string already, but i dont know how to find the elements with that property. thanks, andrew --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google