I want to take an ExtJS element(div) retrieved from the DOM selector, and convert that to an ExtJS Component(a panel). How can I go about doing this? Thanks.
Hallo all.
I need a tool similar to firebug with ie6 to edit css live.
I tried to use ie developer toolbar but in ie6 seems not to let you edit the DOM as wanted.
Is there any tool around?
Kind regards
Massimo Ugues
Hi,
I have some non well-formed xml (HTML) data in JAVA, I used JAXP Dom, but It complains.
The Question is :Is there any way to
use JAXP to parse such documents ??
I have a file containing data such as :
<employee>
<name value="ahmed" > <!-- note, this element is not closed, So it is not well-formed xml-->
</employee>
Hi,
I'm trying to load the DOM of web pages in my application (running under Google App Engine), using HtmlUnit, HttpUnit or any similar library.
Did anyone manage to do something similar?
Thanks
Gilad
I have an HTML page which embeds an IWebBrowser2 ActiveX (i.e. the control is essentially an Internet Explorer browser). I need to write JavaScript in this HTML page which will remove any window.onresize handler from the page loaded in the IWebBrowser2 control.
IWebBrowser2 exposes the DOM through IWebBrowser2::Document, but this is equivalent to window.document. Is there any way I can get access to window or window.onresize?
Looking for best approach to convert Java DTO to XML and back while using GWT. I saw GWT has XMLParser in its client package which is a DOM Parser. I'm looking for more like a JAXB kind of plugin feature that I can use with GWT.
I am adding input elements to a view, dynamically, using JavaScript. But I am unable to find those inputs in my ActionResult's FormCollection parameter...:
public ActionResult Del(FormCollection fc)
I am able to find static input elements in the View. And using FireBug in Mozilla FireFox, I can see that the inputs are inside of the form element, in the DOM, and are not floating around somewhere random.
How can I access these inputs?
I want to run this chrome experiment locally. I copied the .html and .js files, along with the two .jpgs that the demo uses. However, when I run it off my local drive, Chrome gives this error:
light.js:89 - Uncaught Error: SECURITY_ERR: DOM Exception 18
Line 89 returns the image data from the canvas after drawing the image to it. What's causing this security exception? It seems to not be Chrome-specific, as Firefox gives the same error.
Hi.
I need HTML SAX (not DOM!) parser for PHP able to process even invalid HTML code.
The reason i need it is to filter user entered HTML (remove all attributes and tags
except allowed ones) and truncate HTML content to specified length.
Any ideas?
Can anyone think of a (preferably quick) way to move the data() attached to a DOM element to a new instance of itself?
The lightbox plugin I'm using deletes and re-appends and element to the page in order to display it in the lightbox (to aviod the multiple-ids issue that ASP.net has), and obviously the .data() that is attached to the element is lost when this happens.
I know that, for security reasons, javascript can't read the contents of an iframe if it belongs to a different domain. This makes sense, given that the entire page could be an iframe with snooping scripts outside of the frame.
The question is - are there equal limitations in the other direction? Can javascript within an iframe (from a different domain) read and manipulate the dom in its parent window?
Thanks!
If you wanted to re-create the DOM server-side and manipulate it in PHP, how would you choose to go about it?
I'm looking for a fast, multi-user complete server-side web browser that can interface with PHP and run complete Javascript.
Like Jaxer but something I can use with PHP... an extension would be fine, or even an Apache mod.
Ideas?
I'm trying to access the post target action in a jquery function.
example:
<form action="/page/users" id="signup" method="post">
I'd like to access the "action" part - "/page/users" in this case.
$('#signup').live("submit", function(event) {
// get this submitted action
}
Seems like I'm missing something very simple. I see the value in the dom but don't know where it's stored in jquery.
Thanks!
I am a new bee to sencha 2.I wanted to run a basic application using sencha touch but unable to load the application.
Here is what I have done.
I have downloaded the notesApp from miamicoder and i am trying to run the first chapter.
I have attached the folder structure in the screenshot. Please have a look to understand the folder structure.
Here is my index.html
<!DOCTYPE html>
<html>
<head>
<title>My Notes</title>
<link href="sencha-touch.css" rel="stylesheet" type="text/css" />
<script src="sencha-touch-debug.js" type="text/javascript"></script>
<script src="app.js" type="text/javascript"></script>
</head>
<body>
</body>
</html>
I have downloaded sencha sdk 2.1 and took sencha-touch-debug.js and sencha-touch.css and placed in the root of the folder and referred from index.html as mentioned below. I used to to the same thing in sencha 1 and I was getting success but I am getting below error if I am trying to do the same with sencha 2.
I am getting errors as below.
Failed to load resource file:///path/NotesApp-Book-Code-Ch1/src/event/Dispatcher.js?_dc=1354982532236
Failed to load resource file:///path/NotesApp-Book-Code-Ch1/src/event/publisher/Dom.js?_dc=1354982532238
Uncaught Error: [Ext.Loader] Failed loading 'file:///path/ebook-building-a-sencha-touch-2-app%20(1)/NotesApp-Book-Code-Ch1/src/event/Dispatcher.js', please verify that the file exists sencha-touch-debug.js:8324
Uncaught Error: [Ext.Loader] Failed loading 'file:///path/ebook-building-a-sencha-touch-2-app%20(1)/NotesApp-Book-Code-Ch1/src/event/publisher/Dom.js', please verify that the file exists
Is it necessary to use senchatools and generate folder structure? Simply copying the two lib files (sencha-touch-debug.js and sencha-touch.css) and refer them from index.html will not work with sencha 2?
Please help.
Thank you.
Just I am learning MVC,(ofcourse i get enough information from MS Website).I want to quickly
clarify some details.
1) What is the use of PartialView in MVC,Is it similar to partial update of Ajax?
I am does the partialView modify the HTML DOM structure?
2)Can i use Response.Redirect() in MVC?
Hi All,
What firefox plugins could you not live without, as relates to webdev?
My list would be:
DBGBar
Dom Inspector
Firebug
Firecookie
Google toolbar (useful for seo)
Live HTTP
ReloadEvery
TamperData
Web Developer
I am always on the lookout for new ones though, so I wonder if anyone knows of any great ones that I may have missed?
I'm inserting images to editor with id param. after that i'm trying to access it with Dom.get('id'), but it returns null.
I understand that it returns null because it works under parent window's scope. Is there any standard way to access it?
I am working on improving website performance. Here are the list of key performance indicators I am looking at for each page
Total Bytes downloaded
Number of requests
DNS look up time
FirstByte Download time
DOM content load time
Total load time
Is there any optimum value for each KPI to indicate website performance? Please help me in this regard.
I am trying httpUnit for the first time and just trying to get a response back from google.com.
However, I keep getting the following error:
com.meterware.httpunit.dom.HTMLDocumentImpl not found
Though, I have placed httpUnit.jar in the libraries folder of my NetBeans project and can actually see that class file is there.
Any experiences with this?
I am loading content into a page with ajax that will have live click events attached to them. It seems like the first time I load this content everything works as expected. If I load this again, the events fire twice (when put breakpoints in the code). What am I doing wrong? Is there a way I can clear the dom of these elements before they get loaded again?
I'd like to traverse a JSON object tree, but cannot find any library for that. It doesn't seem difficult but it feels like reinventing the wheel.
In XML there are so many tutorials showing how to traverse an XML tree with DOM :(
I'm a little unclear on the difference between reflow + repaint (if there's any difference at all)
Seems like reflow might be shifting the position of various DOM elements, where repaint is just rendering a new object. E.g. reflow would occur when removing an element and repaint would occur when changing its color.
Is this true?
How do I Retrieve a list of computers in a FOLDER in a domain.
lets say i have maydomain.dom as my domain
and I have a folder containing some computers.
Firbug profiler outputs the functions called, but not the arguments/parameters of each function call. Is there any way to get those arguments?
I've dug through the DOM tab for any of the given function calls that I know would have to have had some arguments, but was unsuccessful in pulling out any details.
Ive tried several approaches and even copy/pasted from http://code.google.com/p/phpwebsocket/
Im using Google Chrome 5.0.375.70 beta and the error is always the same:
Error: INVALID_STATE_ERR: DOM Exception 11
when debugging I see the readyState is always 0 (connecting), no other error is shown.
Any ideas?