Omgili - forum search, search forums  
  

Discussions about anchor tags

Displaying 1 - 10 out of 5,088 discussions.  
RSS Feed Options
Time Frame: (Any time)   Minimum number of replies: (2)   Minimum number of discussing users: (0)
  |  

Page: 1   2   3   4   5   6   7   8   9   10  
Keep this page open to be updated with the newest discussions automatically.
I am trying to remove href attr from all the anchor tags using Reg Ex,for print page. Although i need the text value in anchors.
Started by on , 4 posts by 4 people.  
PHP $html = preg_replace('/\s*href="[^"]+"(\s*)/g', '\\1', $....
In the print-style, you don't visually enhance the links.
Couldn't you just style your links using CSS? You could create two separate styles: one for "normal" web visits, and one for print .
I want to know how to count the number of anchor tags present within a div element. e.g.: <div> <a href="1" >1</a> <a href="2" >2</a> <a href="3" >3</a> <a href="4" >4</a> </div> How many <...
Started by on , 3 posts by 3 people.  
To get the div you'de be better off giving it an ID: <div id="thediv" > .
A" tags under an object.
When parsing a bunch of html in plain text format, is regex the best way to extract and examine all anchor tags or is there anything built into the .net lib?
Started by on , 3 posts by 3 people.  
However I find the HTML agility....
Regex is good.
Loading the document into a XmlDocument and selecting all a nodes .
If your input it XHTML (or XML conformant), you can use XML and XPath .
There is no HTML parser built into the BCL.
RegEx is you pal here.
Ask your Facebook Friends
I currently rely on anchor tags to perform AJAX requests on my web application (using jQuery). For example: <script type="text/javascript"> $(document).ready(function() { $("#test").click(function() { // Perform AJAX call and manipulate the DOM ...
Started by on , 7 posts by 7 people.  
It'll affect of the <a> tag....
And then replace the href (or capture the onclick event) for the anchor tag and do whatever you wish a message in a <noscript> tag informing the user that your site requires Javascript.
My site is working fine in Firefox, Safari, Chrome, and Opera, but for some reason IE7 is not recognizing css padding on any anchor tags. I can't figure this out. In IE7, if you look at the tabs that say "exclusives|popular|recent comments" on the homepage...
Started by on , 4 posts by 4 people.  
Can't try though....
A { display: inline-block } might work while keeping the inline-level meaning it doesn't break the page .
If you give them a little CSS love: a { display: block; } Then they'll respect padding .
You can't have padding on non block elements.
Ok I have to parse out a SOAP request and in the request some of the values are passed with (or inside) a Anchor tag. Looking for a RegEx (or alt method) to strip the tag and just return the value. // But item needs to be a RegEx of some sort, it's a ...
Started by on , 6 posts by 6 people.  
Alternatively you can use filter_var() with FILTER_SANITIZE_STRING properties from only specific... .
It'll do..."! First we have the main RegEx for an anchor tag: '#<a><PHP has a strip_tags() function.
Is a string and say, "Meh...
Hi, I have a table that I want to add a click event to the tr elements. I have managed to do this: $(function() { $('tr').live('click', function() { alert($(this).html()); }); }); However I have anchor tags within some of the td elemets of the row that...
Started by on , 6 posts by 6 people.  
This can be done very easily clicks on deadZone class $(... .
You need to stop propagation on the anchor elements.
This prevents the click event from bubbling past the anchor tags, this is possible.
The click function to return false.
Hi, I am working on an fairly simple CRUD application in ASP.NET MVC. The rule for handling anchor tag inputs are fairly straight forward: All text inputs contains anchor tags are saved as-is in the database and will be encoded as HTML entities when rendering...
Started by on , 3 posts by 3 people.  
Have you ....
Could you inherit from the basic text field control (TextBox?) and customize that control, then use it wherever it's needed? I've seen lots of situations where developers create customized controls with validation controls added optionally .
Hi , I am trying to strip out all the links and text between anchors tags from a html string as below: string LINK_TAG_PATTERN = "/<a\b[^>]*>(.*?)<\\/a>"; htmltext = Regex.Replace(htmltext, LINK_TAG_PATTERN, string.Empty); This is not working...
Started by on , 6 posts by 6 people.  
String LINK_TAG_PATTERN = @"(<a\s+[^>]*> linked to, try string LINK_TAG_PATTERN = @"<a\b[^>]*>(.*?)</a>"; htmltext = Regex.Replace(htmltext, LINK_TAG....
To prevent other tags that start with a from matching.
Related (but slightly different): http://stackoverflow.com/questions/1181204/javascript-regex-surround-and-http-with-anchor-tags-in I would like to surround all instances of @ ___ , # ____ , and http:// with anchor tags. Multiple passes is fine with me...
Started by on , 6 posts by 6 people.  
For matching @ and # tags, I'd suggest using the \w metapattern (matches word characters - so it'll and no space, eg @tweet,#tag <script type=text/javascript> function addTags(str) { return.
Page: 1   2   3   4   5   6   7   8   9   10  
Related Searches
to set text for anchor tag in js    anchor tag change background color javascript    anchor tag text using javascript    javascript dynamic anchor tags    javascript display text inside anchor tag   
More Information


Forum Search About Omgili Help Plugins Forum/Board Owners Privacy

i
In Title
In Topic
In Reply
Exclude
Boost