Login Register

javascript

Execute Javascript inside Dialog

I am loading Dialog using setHref .In the loaded page, I have javascript. How to execute that Javascript?

Rendering HTML and Javascript

Hi,

i have a big problem. I must create with dojo static websites.

Explanation:
I have generated a dynamic web application with dojo. But now i got a request to optimize the page for a search engine. I can't use jaxer on the server, so i can't render it on server side.

Question:
Is it possible to generate static files for a search engine during the dojo build process with rino?

I hoooooooooooope somebody can help me.

Cheers

dynamic execution of the XHR response content

Hello,

I'm evalutaing Dojo by recreating an application previously built with other frameworks. Liking it so far and it's a lot lighter! But just encounter my first road block was hoping someone could help me solve...

Does Dojo provide a means for dynamically executing an XHR response content. In other words parse the xhr response for script tags and execute this javascript?

We've used the following solution (a plugin for YUI) in the past if this helps you understand our requirement.

http://www.bubbling-library.com/eng/api/docs/plugins/dispatcher

Many thanks in advanced!

JavaScript Function Call Stack Trace

Hi All,
I am currently usinf FireBug plug in for FireFox and I find it very useful... However, FireBug doesn't seem to be able to provide the Stack Trace. So I eventually get the method causing the problem, but I get no info on which methods were called before the call to this method was made. Thank you in advance :)

Regards,
Yazad Khambata

Problem opening page per Javascript-bookmark in Firefox 3

In our special application users can generate bookmarks like this
javascript:url="http://localhost:8080/superx/servlet/SuperXmlMaske?tid=17000&Kostentr%C3%A4ger=12080003&Kostentr%C3%A4ger-Sicht=Hauptsicht%20Kostentr%C3%A4ger&untergeordnete%20aufsummieren?=ja&Haushaltsjahr=2002&Zeitraum=monat%3E%3D1%20and%20monat%3C%3D1";%20if%20(window.oeffne)%20oeffne(url);%20else%20self.location.href=url;

it worked fine in Firefox 2 but in Firefox 3, I got an exception
reading window.document disallowed in dojo.js line 11958

I'm not sure what the problem was, but adding a try-catch seems to help

4 Sutras to Work with JavaScript

Hi,

I have written an article "4 Sutras to work with JavaScript" - 4-solution-items that one must keep in mind while working with JavaScript at http://blogs.mastergaurav.com/2008/06/16/4-sutras-to-work-with-javascript/

I provide training in RIA, Web 2.0 and related stuff, and when it comes to working with JavaScript, I find people struggling a lot in a language quite different from "traditional" programming languages like C++, Java, C# etc.

dijit.Dialog et javascript

Bonjour,

je viens vers vous au sujet du widget Dialog de dijit. je rencontre une difficulté majeur, j'utilise donc ce widget pour ouvrir plusieurs dialog dans une page html.

En utilisant un dijit.byId('maDialog').setHref(UrldeMaPage);

Dans la page html que je charge dans la boite de Dialog se trouve du javascript .
Mon souci est que le javascript qui se trouve hors input (des fonctions, appel de fonctions) n'est pas exécuté.

Good morning,

Aptana Senior Web Developer

Senior Web Developer

About us:

JavaScript Architect for Aptana Jaxer

JavaScript Architect for Aptana Jaxer

About us:

disable js inside editor (IE)

I've got a problem where the contents of my [RichText] Editor are javascript-enabled in IE. This wouldn't be a big deal, except when there is an Editor that has, say, links with complicated onclicks that won't work in edit mode (as certain objects or whatever aren't there) and, more importantly, SHOULDN'T work in edit mode. I want the client to be able to edit/delete onclick attributes (and have tweaked the LinkDialog plugin to work how I want it, no worries there) but I don't want them to be able to actually fire the onclick event by clicking on the link inside the Editor iframe.

Syndicate content