Search:

Type: Posts; User: HuyDung

Page 1 of 2 1 2

Search: Search took 0.03 seconds.

  1. Replies
    5
    Views
    2,283

    set allowBlank: true to both the two fields....

    set allowBlank: true to both the two fields.
    Before sending your form, do some check:
    if( f.findField("field1").getValue() === "" && f.findField("field2").getValue() === "" ) {
    //alert users to...
  2. yeah, I agree with you all. At the very first,...

    yeah, I agree with you all.

    At the very first, I decided to use EXT for admin-part, and normal html with some ajax functions only when needed for user-part of the website. But after finished...
  3. small website using EXT - screenshots and demo movie

    HI.

    I've created a small website base on EXT as my semester 1 project in Aptech - a computer education. It's not available in the web yet. But I have some screenshots to show you. And the most...
  4. Replies
    7
    Views
    2,140

    Give each of your nodes an id. When a node is...

    Give each of your nodes an id. When a node is clicked, It send a request to the same page from which the root node was load, with one parameters named 'node' and value is id of the node.So, In server...
  5. Replies
    8
    Views
    4,356

    use Ext.DomHelper. insertBefore, insertAfter,...

    use Ext.DomHelper. insertBefore, insertAfter, append ... there are many methods for you to choose.

    for examples:



    Ext.DomHelper.insertAfter('panel1', {
    tag: 'div'
    ,id:...
  6. Replies
    4
    Views
    1,602

    it looks good :D thanks again >:D

    it looks good :D thanks again >:D<
  7. Replies
    4
    Views
    1,602

    function refreshAllFilmPanels(){ var center =...

    function refreshAllFilmPanels(){
    var center = innerLayout.getRegion('center').panels;
    center.each(function(panel){
    alert(panel);
    var panelID = panel.getId();
    alert(panelID);
    if...
  8. Replies
    4
    Views
    1,602

    loop through content panels

    After sometime playing with my site, user opened several tabs with Film&DVD info, search result, help ..... In my code, all the Tabs which contain info of a film were named : 'film' +...
  9. Replies
    4
    Views
    1,837

    Throw all you border-layout code (currently...

    Throw all you border-layout code (currently within Example()) into MOL. YOU'RE CREATING TWO 'layout', you didn't see??? createCenterTab() can reach only the 'layout' with a blank center region (as I...
  10. Replies
    4
    Views
    1,837

    You've not create a panel for the grid.

    You've not create a panel for the grid.
  11. Replies
    9
    Views
    1,641

    it's a good doc Josh! I have just read throughout...

    it's a good doc Josh! I have just read throughout it in few minutes cause I have to go now, but I've found it seem to be very useful and I surely I'll study it carefully tonight. Thank you.
  12. add those bold lines to return{} area in your...

    add those bold lines to return{} area in your example object

    return {
    openNewTab: function(gridid){
    alert(gridid);
    alert(layout);
    },
    init: //your code...
  13. Replies
    1
    Views
    963

    layout.getRegion('east').expand()

    layout.getRegion('east').expand()
  14. have you try? of course they can access MOL! In...

    have you try? of course they can access MOL! In my work, even an external page loaded by ajax into the homepage can access its public functions!!!


    try this very simple thing and probably you'll...
  15. Infact, it's not the matter the code was write...

    Infact, it's not the matter the code was write before or after Ext.onReady(). You see, it's just a object and do nothing until it's called. Like a function. declare them anywhere in your HTML and js...
  16. Oh, it's brilliant! " view.prepareData = =...

    Oh, it's brilliant!
    "
    view.prepareData = = function(data, index) {
    switch (index % 5 ) {
    case 0:
    var newItem = '<tr>' + '<td>' + data.item + '</td>';
    break;
    case 4:
    var...
  17. Replies
    9
    Views
    1,641

    Ohh man, it solved the refresh problem :(( I'm...

    Ohh man, it solved the refresh problem :(( I'm really happy now :(( thank you soooo much :X

    [
    Response.AddHeader "pragma","no-cache"
    Response.AddHeader "cache-control","private"
    ...
  18. Replies
    9
    Views
    1,641

    Oh yessss, I'll try that right now :D. Because I...

    Oh yessss, I'll try that right now :D. Because I found one bug: my solution still don't work when user refresh the page (so the 'loaded' didn't change :(()
  19. Replies
    5
    Views
    2,593

    Search in the documentation for what????...

    Search in the documentation for what???? window.open() is basic method of the window object in javascript. And it's really simple!!!

    http://w3schools.com/htmldom/met_win_open.asp


    var...
  20. Replies
    9
    Views
    1,641

    try more, get more problems and this is what I...

    try more, get more problems and this is what I found:

    When I call a asp address with the same url like one was called before, the ASP file is actually called and any code inside is done. that's...
  21. ok, I'll post a part of my current small project...

    ok, I'll post a part of my current small project here, not exactly your problem but similar.

    First, you must keep in mind that the 'layout' were declared in Example object as a private variable....
  22. Replies
    9
    Views
    1,641

    Uhm, Digital, thanks but it's really not the...

    Uhm, Digital, thanks but it's really not the matter. As I've seen the "session" object in classic ASP is not very happy with ajax calls. I decided to use a temporary table to hold shoppingCart data...
  23. You should not have code both in js file and html...

    You should not have code both in js file and html file like that when it's not really neccessary.
    Use one singleton , declare variable 'layout' so you can call this from any function() in side your...
  24. Replies
    9
    Views
    1,641

    really need help with IE behavior

    What am I doing?
    Create insertDVD.asp, request dID, process, insert information of the DVD to shopping cart.
    Create viewCart.asp, request nothing, send back jsonString hold the cart data.
    Create a...
  25. I also want data to be view in table. I've read...

    I also want data to be view in table. I've read and try your solution but not fully understand and get error ("buffer" is null or not an object).

    Even when I try your code I still confusing:
    If I...
Results 1 to 25 of 38
Page 1 of 2 1 2