Is there an initBinding() method in either javascript or jquery?

Hi:

Relatively newbie in the world of javascript and jquery.

Someone told me there is a predefined javascript function called: initBinding().
It is supposed to be a javascript predefined method to bind the controls and data.

I'm not seeing any references to it anywhere online.
I believe that one of us is confused on the matter.

Can someone clarify this?

Thanks,
JohnB
LVL 1
jxbmaSoftware ConsultantAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

GaryCommented:
With jquery all bindings are done for you when the document is loaded.

Say you wanted to capture when someone clicks a link then this would be an example

<a href="somelink.php" id="mylink">Click me</a>

<script>
$(function() { // This will only fire when the document has loaded
     $("#mylink").click(function(e){ // we bind the click event on the anchor tag
          e.preventDefault() // stop the link being followed
          alert("You clicked my link")
     })
})
</script>
http://jsfiddle.net/XRQPX/

Is this what you are referring to?
0
jxbmaSoftware ConsultantAuthor Commented:
No, I was actually checking on the actual existence if the call (in either JavaScript or Jquery) of the call: initBinding().

I've searched and not found any reference to the specific call. I want to understand the call ( if it in fact exists ) or point out to them that it doesn't.

Thanks for the explanation so far though.

JB
0
GaryCommented:
I don't know who's telling you that, but initBinding() is just a function name that someone made up - like naming your functions with meaningful names so you can quickly know what they are for
It is not some special js command
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
jxbmaSoftware ConsultantAuthor Commented:
Exactly.
And I'm going to call him on it.
Thanks for the feedback.

JB
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
JavaScript

From novice to tech pro — start learning today.