selecting a element using tag + id value using jquery

How can I do and in CSS / jquery selectors ? ex how do I select a jquery element with tag button and id "reg".

Answers


IDs are for unique DOM elements, so just look for the ID:

var button = $( '#reg' );

Edit:: If you must:

var button = $( 'button#reg' );

Need Your Help

How to check status of a document with DocuSign?

wcf asp.net-web-api docusignapi

We are going to use DocuSign API to sign our documents. Once document is uploaded to get signed/declined, we have TWO ways to get the status of the document (signed or declined):

Using Razor to create a form for hierarchy of domain models

c# entity-framework razor asp.net-mvc-5

Lets say I have the following classes (could you also consider if my classes in terms of that relation part is correct):

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.