php - Jquery Impromptu -


I have a problem adding Jquery Impromptu boxes to a project. This code works well outside of the project, But when it gets spoiled.

  & lt; Script type = "text / javascript" & gt; Function openprompt () {var txt = 'text here'; Function mycallbackform (v, m, f) {if (v! = Undefined) $ .prompt (v + '' + f.alertName); } $ .prompt (txt, {callback: mycallbackform, button: {add: 'add', cancel: 'cancel'}}); } & Lt; / Script & gt;   

When this action is executed, nothing will do. If I remove $ .prompt, then it will work. I'm getting this console message even after executing the
function ...

  Unicode type error: object function (selector, context) {// jQuery object is actually only init constructor 'Enhanced' Returns New jQuery.fn.init (Selector, Event, Root Jyoti); } There is no way 'sign'   

The code has been placed in a PHP file which I think may cause problems, but I check the code in another PHP file So, its not PHP alone

I am planning to use the signal to display a combo box, so I can not use a standard warning.



I am quite new to these things, am I doing anything wrong?

Thanks

Have you extended the methods of jQuery when you use this code Use this project out? If so, then you should include jquery extension in this project.

$ Prompt means that there is a method name prompt in your JPY library

if not, your jQuery library of the project is not the same together, where you have tested this code. A method (function) name must be an indication and you must include it in that project.

Comments