Scott Longberry wrote:
> Hi David,
>
> I happen to be using Firebug and there are no errors coming from
> Javascript. I guess what I was really wondering was if there could be
> any namespace conflicts with the Ajax namespace?
>
There shouldn't be. I call our stuff SimileAjax just to avoid collision.
You can use Firebug's console to evaluate some expressions, including
new
Ajax.Updater('stringinfo','http://localhost:8080/query/get_string_from_li?id=196',
{asynchronous: true})
You can also evaluate some expressions like
inspect(Ajax.Updater)
and see if it's looking alright.
David
> Thanks,
>
> Scott
>
> On Jan 15, 2007, at 8:30 PM, David Huynh wrote:
>
>
>> Scott Longberry wrote:
>>
>>> Hi all,
>>>
>>> I am trying to embed a link into a text string being fed to Exhibit.
>>> If I view the source, the link looks like the following:
>>>
>>> <a href="#" onclick="alert('Get link!!!'); new Ajax.Updater
>>> ('stringinfo','http://localhost:8080/query/get_string_from_li?
>>> id=196', {asynchronous: true}); return false;">Demo 7049-32</a>
>>>
>>> I put the alert into the link just to prove that javascript was
>>> getting evaluated when I click on the generated link (it is). The
>>> problem is that the Ajax.Updater never fires. Is there some
>>> incompatibility between the Prototype JS library and the Simile Ajax
>>> library? I use prototype everywhere else in my code, so I would like
>>> to use it here as well if I could.
>>>
>>>
>> Are you seeing any error in the Javascript console (in Firefox)? I'd
>> recomment FireBug for debugging:
>>
>> http://getfirebug.com/
>>
>> David
>> _______________________________________________
>> General mailing list
>> [email protected]
>> http://simile.mit.edu/mailman/listinfo/general
>>
>
> _______________________________________________
> General mailing list
> [email protected]
> http://simile.mit.edu/mailman/listinfo/general
>
_______________________________________________
General mailing list
[email protected]
http://simile.mit.edu/mailman/listinfo/general