As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.
Join the TIBCO Community TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.
From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
Request access to the private WebFOCUS User Group (login required) to network with fellow members.
Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.
I created the simplest possible Dev Studio screen. A text input only. I then added the javascript items for JQuery and datepicker. I know that the JQuery javascript file is good since it works with other pages. The datepicker is not working.
Your problem is that at the time your Javascript code executes, the element with id '#edit1' does not exist yet in the DOM.
If you would add your code to the body of the window_onload function, your chances would be better.
Or put it in an onInitialUpdate function, as suggested in the comments.
WebFOCUS 8.1.03, Windows 7-64/2008-64, IBM DB2/400, Oracle 11g & RDB, MS SQL-Server 2005, SAP, PostgreSQL 11, Output: HTML, PDF, Excel 2010 : Member of User Group Benelux :
Hi All, I using a JQuery datepicker since I want to add functionality to it. Specially, I need two calendars, a start date and an end date. The user should not be able to pick an end date that before the start date. They should not be able to pick a start date that is after the end date.
Ah, seems like I overlooked your call to $(documet).ready - that should work just fine.
However, looking at the Javascript console in your browser will probably reveal what the problem is.
With your code, I initially had to change the URL to the jquery library. After that, it turned out that you don't include the jquery-ui library nor the related CSS file that contains the date picker widget.
Next, you will probably want to provide settings to the datepicker to display an icon.
The code snippet that works for me (URL's at your site will be different):
WebFOCUS 8.1.03, Windows 7-64/2008-64, IBM DB2/400, Oracle 11g & RDB, MS SQL-Server 2005, SAP, PostgreSQL 11, Output: HTML, PDF, Excel 2010 : Member of User Group Benelux :