[jQuery] Id not Found

[jQuery] Id not Found


Hello,
Will I create any problem to a page or fire any error if I apply a
JQuery plugin to an id that does not exist?
$('#StartDate').datePicker();
Where StartDate do not exist ...
If there is a problem how can I apply datePicker to elements of
ID="StartDate" and ID="EndDate" only if they exist?
Thanks,
Miguel