Internet News
All about web
Home
11/30/2011
JQuery using :not
[javascript] $('#seoform input:not(#submit_id_form)').val(''); [/javascript] or [javascript] $('#seoform input').not('#submit_id_form').val(''); [/javascript]
30.11.2011 0:00:00
|
jquery snippets
NEXT POST
Disable a Hyperlink using JQuery
$('.my-link').click(function(e) { e.preventDefault(); }); You could use: $('.my-link').click(function(e) { return false; }); $(".my-link").each(function() { $(this).attr("data-oldhref", $(this).attr("href")); $(this).removeAttr("href"); }); $('.my-link').bind('click', false); And to unbind / re-enable: $('.my-link').unbind('click', false);
PREVIOUS POST
php: Extract only digits from value by preg_replace
[php] $id = preg_replace('/[^0-9]/','',$_POST['id']); [/php]
Mihail
Web Designer and Programmer
17
Following
138
Followers
Search
My Other Accounts
Facebook
|
100000767902399
LiveJournal
|
it-biz-bc
Twitter
|
iPadRu2
Twitter
|
itnewscc
Recent Comments
Account Deleted:
Im planar for your article writings and content...
|
more »
On
WebDesign: Suggestions Conserning Design
Mihail:
Web Design - What is the main concern? I still ...
|
more »
On
WebDesign: Suggestions Conserning Design
Mihail:
Inbound Links in Web Marketing...
|
more »
On
Inbound Links in Web Marketing
Recent Comments