Questions tagged [html-manipulation]

25 questions
0
votes
2 answers

String manipulation, replacing " " with (space)

I've been working on a function that changes the spaces between words into the string " "(space). For example, "Hello World. Hi there." would become "Hello(space)world.(space)Hi(space)there." EDIT: I'm trying to build this to a specific set of…
Ross Cheeseright
  • 117
  • 1
  • 1
  • 8
0
votes
0 answers

How to add html markup dynamically for all pages from MVC server side?

I want to add custom html markup, how can I do it in serverside? so How can I add myCustomMarkup attribute to html from server side?
ozziem
  • 155
  • 3
  • 12
0
votes
5 answers

How can I select the element of html file (except first and last) using DOM and manipulate it?

Here i want to select the second LI of UL using DOM and mainuplate it , i know how to select first and last element but i am not able to select second ,third and so on element . How to do it? I want to change the "second" written on the html…
0
votes
1 answer

c++ library for simplify repetitive task on internet?

I need some advice, link, source code or tutorials for simplifying repetitive task over the internet. Let's say that I want download some video from vimeo very often, or login in my gmail account, etc... and for that purpose I want to…
raptor
  • 265
  • 6
  • 20
0
votes
1 answer

How to check if Html element has a background-image css property in WebBrowser control C#

here is my code : var allEles = webBrowser1.Document.All; foreach (HtmlElement item in allEles) { if (item.TagName.ToLower() == "div") { if(//Here i want to check if div has a background-image…
Hegab
  • 29
  • 5
0
votes
3 answers

Jquery: Cloning a select list and selecting an option by its value

I'm trying to append a select option list to a div table with jQuery, after done this, I'd like to select a specific option of the list, I'm trying something like this: // my hidden option list
vitto
  • 19,094
  • 31
  • 91
  • 130
0
votes
4 answers

Using PHP, how do I remove HTML Text After/Before Certain Number of

Using PHP, how can I remove HTML text that is placed before/after a certain number of
tags? For example, I have this,

title

some text here
Some text that I…
Teno
  • 2,582
  • 4
  • 35
  • 57
0
votes
2 answers

Manipulate html document

...hello... I'd like to remove the tags from the html document. Is it possible using Jsoup?
Terry Li
  • 16,870
  • 30
  • 89
  • 134
-2
votes
0 answers

How can I efficiently double the dimensions of an HTML in a string in Python?

Possible Duplicate: how to make the width and height x2 using python Regular This is my code: import re s = '' def a(x): b = x.group(0) b = b.replace(x.group(1),str(int(x.group(1))*2)) b =…
zjm1126
  • 34,604
  • 53
  • 121
  • 166
-3
votes
1 answer

jQuery and selectors in use with specific span tags

jQuery selector Selecting specific span tags I had this problem with jQuery's selector. It was a problem for hours. It could not select that specific span tag that I wanted to manipulate and that's why I'm stuck scratching my head with this one. My…
KimKat
  • 3
  • 3
1
2