Focal Point
[CLOSED]jquery error in html composer

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/6457053286

May 14, 2016, 11:24 AM
Durai
[CLOSED]jquery error in html composer
i insert a jquery.js in html composer.when a i run a report i get error message The value of the property '$' is null or undefined, not a Function object.can any one help me to solve a problem please.

This message has been edited. Last edited by: <Emily McAllister>,


Webfocus AppStudio 8201
Windows
May 15, 2016, 09:07 AM
Jagan
Jquery may not be part of the html that you build, you might have to download and include jQuery.min.js and include it to you html to resolve this.


WebFOCUS 77x, WebFOCUS 8x
May 15, 2016, 01:22 PM
Durai
Thank you for your reply.I tried jquery.min.js.But i get same error


Webfocus AppStudio 8201
Windows
May 15, 2016, 03:41 PM
Squatch
jQuery is not being loaded, for whatever reason. Probably an incorrect "script" tag.


App Studio
WebFOCUS 8.1.05M
Windows, All Outputs
May 16, 2016, 08:37 AM
GavinL
Should be..

<script src="/ibi_apps/ibi_html/javaassist/jquery/jquery_min.js"></script>




- FOCUS Man, just FOCUS!
-----------------------------
Product: WebFOCUS
Version: 8.1.04
Server: Windows 2008 Server
May 16, 2016, 05:18 PM
Tony A
A couple of things that you need to do.

Firstly double check the location of the jQuery.js file as I believe that it changed location between 8.0 and 8.1 (I've mentioned this before I think?). I think that Gavin has given the 8.1 location?

Secondly, learn how to use developer tools for your browser. For the $ property in jQuery to be able to be used, the jQuery library must be ready before the first $ usage. If it isn't then you will get that message.

Also, using developer tools will enable you to establish if your link to the jQuery library is correct. You can always put the full URL into your browser and see if you are prompted to download the jQuery file.

If you are using HTML composer to build your web page then the jQuery library should be linked for you.

T



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
May 17, 2016, 10:07 AM
GavinL
Could always hand code this, no matter what version of WebFOCUS you have:

<script src="//code.jquery.com/jquery-1.11.3.min.js"></script>




- FOCUS Man, just FOCUS!
-----------------------------
Product: WebFOCUS
Version: 8.1.04
Server: Windows 2008 Server