now that button appears but it doesn’t do anything when button is clicked. what am i missing? when i do autoOpen:false; it opens on load, meaning something on button isn’t right?
i hope u bare with me the learning process. i know that option for dialog goes in {} but i am trying to achieve a slide/fade effect when second dialog box is called. i know its .fadeIn(“slow”) what i don’t understand is where to put it, either in the {} or make a new function for dialog with same id and append it with .fadeIn ?
basically, what i am doing is calling a dialog box inside from a dialog box.it work fine from the dummy page i created but here i m working on this page but its not working, nor i been prompted for any errors
but when i click button, nothing happens. does dialog box support opening of another dialog besides it? in my case i need it to slide down from bottom, am i missing something or what,
Off Topic:
i am learning fishing but i need help to catch some before i am on my own
thanks wolken & pwn57. i spended the weekend studying about JS and i had many thing cleared. i do need something else. i have a Add button in my log.php page which open a new form, which it does now correctly. but what i want is to load log.php below the opened log.php, like slide from behind at the bottom. how can i do that? is it possible?
on the same page.
this is just a example, the real case in this guy code, whom i wanna apply it on. for now he is printing ‘incorrect username and password’ in td. which i think is boring, this is what is chunk of his code, which prints on the same page
i was following a video tutorial by Dori Smith of JS and man she just got started on creating a bingo card on just starters chapters. total show off. lol, mosty my learning are via sitepoint or w3school. do u recommend JS from w3school. i mean does it cover what is needed?
Could be, it’s always good to know the language before getting to know the library.
Start with javascript, forget about jQuery.
When you’re done, start learning jQuery and you’ll see how easy and user friendly it is.
If you want a book i’d go with “jQuery in Action (2nd edition)”.
If you want to learn online just use the documentation on the jQuery official website (http://docs.jquery.com/Main_Page)
You should hide the div before displaying the page. This is done using css (in the <style> tag in the code below.
You should place the function that adds the click to the button inside another function that ensures that the code will be executed AFTER the dom is loaded.
Note: you should also write something inside the div to see it show…
its fairly a normal show function. but its not working, the div shows up before i even press click. i am just being so fustrated making it work. i don’t know where to start to get a good grasp of jQuery, i did got a fair hold of selectors and filter is jQuery but i can’t make anything like this work. as i want on my button to perform the function i wrote in JS. where am i going wrong