Tagged questions

1000 results found

Parsing HTML without retrieving external resourcesJune 24, 2016

Hi, thanks for reading this, hope you can help. I am putting together a site that uses screen scraping to extract results from a number of search engines.  The HTML is downloading fine and I am able

18

views

0

votes

4

answers

remove() multiple elementsJune 24, 2016

I have this query that does what I want it to do, find the class and remove an extra element within its parent: $(".emptyTopNavOption").parent().children().first().remove(); But when there are multi

16

views

0

votes

1

answers

XML find and each not finding or "eaching".June 24, 2016

Here is my xml output from the php file... 1282858661408571Sub7ds1282858673545392Sub7d Here is my javascript function. Everything is working normally up to here (checked in firedebugger). function

28

views

0

votes

2

answers

Alternative to html() for XML documents?June 24, 2016

I am retrieving an XML document like the following: HTML goes hereHTML goes here <moreRecords>1</moreRecords></SampleData> I was using a statement like this to take the con

28

views

0

votes

1

answers

get tag text from xnl dataJune 24, 2016

thanks in advance for any help provided this is vexing me no end, because it should be simple as pieā€¦ i can get this to work in opera but in explorer it doesnt. I have a xml file that I am trying t

24

views

0

votes

12

answers

Array of objects, indexof or searchJune 24, 2016

Hi, I've got an array like this: var test = [{date:'10/04/2009', name:'Good Friday'}, {date:'13/04/2009', name:'Easter Monday'}, {date:'04/05/2009', name:'May Day Bank Holiday'}, {date:'25/05/200

34

views

0

votes

2

answers

$(xml).find problemJune 24, 2016

$.ajax(    {type:"GET", url: "newBlogPost.php", dataType: "XML", success: function(xml) { var v=$(xml).find('daysSince').text(); var t=$(xml).find('title').text(); if(v<14) { var i='' + t +

19

views

0

votes

3

answers

how use wrap instead replace?June 25, 2016

i have great function for find word and replace with tags $(".title h1").html(function(i,text){ return text.replace(/\w+\s/, function(match){ return '' + match + ''; }); }); }); but i can't u

22

views

0

votes

0

answers

Find elements whos width was specified by CSS.?.June 25, 2016

Is it possible to select the elements who's width was specified by CSS? It's easy if they specified it by the width attribute *[width]. If you look at each elements css('width') it shows what was spec

43

views

0

votes

5

answers

find() and jQuery() not finding elements directly under dom with page from $() constructorJune 25, 2016

Hi -- I'm writing some tests in jspec using jquery, and have come across a problem. This is that when I load the DOM into a var called $page, searches on that $page only return items nested more than

21

views

0

votes

0

answers