I need to compare a webpage's DOM structure at various points in point. What are the ways to retrieve and snapshot it.
I need the DOM on server-side for processing.
I basically need to track structural changes to a webpage. Such as removing of a div tag, or inserting a p tag. Changing data (innerHTML) on those tags should not be seen a...
I have a html table and I need to get the first row's (which is not the thead part.It will be in tbody part) last columns value or text. I need the value on clicking the button btnAdd
<table>
<thead>
<tr>
<td>Name</td>
<td>ID</td>
</tr>
</thead>
<tbody>
<tr>
<td>Edwin</td>
<td><span style='displa...
tinyMCE has an insert image button, but how to handle its functionality
pls give some code
...
Hi ,
Is there any way I can find out if CSS I am using works fine with most of the browsers ?
I got some reference http://www.gabrielweinberg.com/blog/2009/06/a-harsh-css-environment-for-testing-widgets.html
...
I have service which converts HTML to image and sends back.
At present I am using WebBrowser control to do that. But it is far from perfect. During peak hours service crashes or gives Null reference exception. Also it is not lightweight on memory. I looking for lightweight managed option to this job.
Kindly let me know for any open ...
Is there a way to detect the location or block of a column created using the -webkit-column methods? Can this column be accessed with jQuery once it is created?
Is there a way to access the nodes of a specific column?
Update:
Is there a way to get the horizontal position of an element?
...
Hi,
Explanation: At the beginning the value of the field is YYYY-MM-DD. if the user delete the value and doesn't type anything, the button "ok" should be disabled. if the user delete the value and type new value, the button "ok" should be enable. The code is working only for the second case.
function ChangeOkButton()
{
if(docum...
how can I have an indention here:
sorry for the ambiguity of my question, i want to have indention between the "9.00" and the border from the left. please check the link i included here:
http://img714.imageshack.us/i/spacing.png/
<table border="1">
<col width="100" />
<col width="300" />
<tr>
<td> 9.00 </td>
<td> Name N...
I have this HTML/XML:
\t\t\t\t\t \r\n\t\t
<a href="/test.aspx">
<span class=test>
<b>blabla</b>
</span>
</a>
<br/>
this is the text I want
<br/>
<span class="test">
<b>code: 123</b>
</span>
<br/>
<span class="test"></span>
\t\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t
In C#4 I use the HtmlAgilityPack lib to select the Node with XPat...
I am kinda new to this, but I am trying to fill an array from a sql statement that pulls several permit numbers from a table.
So in the table every person can have multiple permits, I need to store all the permit numbers and display them in a drop down box via javascript. I get the information from the array but the information is disp...
Situation: Got a flash object with an icon bar (div with pngs) on top of it. Works on all browsers except Firefox 3.6 on Ubuntu 8. Example: http://ListAndPlay.com
Problem: Icons suddenly disappear after the flash is being loaded. See this screenshot: http://api.browsershots.org/png/512/e3/e30de0b1ad995fa1aa9c14cbc19fb43c.png
What I've ...
Hi,
I am having fileupload control having its "multiple" attribute equals to "multiple". I am facing a weird issue in CHROME browser. The isse is that onchange event of file upload control is not firing for more than 12 files selected at once. The event is firing if I have 10 files selected at once. On FF and Safari it is working fine. ...
I've uploaded the new file via FTP, but the changes didn't take effect: http://intrepidtraveler.com/Templates/press.dwt
Why is this the case? http://intrepidtraveler.com/media/ (Trying to update the image links on the left hand side).
...
Hi
I wanted to get <textarea> scrollHeight on body load using jquery.
It's always getting zero. I want actual height of textarea on body load.
If it's not possible to get scrollheight on body load, is ther any way to get actual height rather than height().
Please suggest if you have any reference.
Thanks
-Pravin
...
I need to extract all HTML tags from a webpage into an array without the data inside the tags. It would look something like...
I'm using PHP
Array
{
html =>
Array
{
head =>
Array
{
title,
...
Ahhh Internet Explorer.
I've been banging my head against the wall for a couple of hours, and thought it might be time to ask the internets.
When putting someones old javascript function on my page it makes it no longer center in IE(7). What I think is causing it is the page width is getting superficially longer as a result of the scri...
I am attempting to create an html document parser with Python. I am very familiar with jQuery and I would like to use its traversing functionality to parse these html files and return the data gathered with jQuery back to my Python program.
Is there any way to use javascript scripts through Python? Or is this just a pipe dream?
...
I've spent the whole day looking into this and finally decided to ask for help.
This does look like a very similar question to many on here but none of the accepted answers come close to what I need. If I'm wrong, I'd be grateful of a pointer in the right direction.
My problem is that I have a table of 20 rows (maximum) and 18 columns....
I Have coded a "terms and conditions" page with numbered paragraphs as follows:
<p>1. content</p>
<p>2. more content</p>
<p>3. even more content</p>
as opposed to:
<ol>
<li>content</li>
<li>more content</li>
<li>even more content</li>
</ol>
I have been told by someone that this is extremely bad practice and is generally wrong.
Now...
I have a page where I want to demo some web widgets. When user clicks a "Add widget" button, I want to dynamically add the widget he/she selects on the same page in a blank DIV. For example, following is the code for an Addthis button. I tried to add this to the DOM using javascript. I tried both innerHTML and document.write() and neithe...