Advanced Search

Search:

Type: Posts; User: crobinson42; Keyword(s):

Page 1 of 4 1 2 3 4

Search: Search took 0.00 seconds.

  1. Replies
    1
    Views
    474

    DOM update on AJAX load

    I have a question about a pretty heavily coded jquery application i'm designing. All content is loaded via ajax into div's and most of the pages that are loaded into the div's have their own <script>...
  2. Replies
    0
    Views
    547

    Resolved Prepared statement bind_param() count

    What am i doing wrong?!


    $user->getUserRegions($uid);


    function getUserRegions($uid){
    global $mysqli;

    $stmt=$mysqli->prepare("SELECT user_region.default, company_region.name FROM...
  3. Replies
    4
    Views
    551

    Correct. I include the pages with the classes...

    Correct. I include the pages with the classes that i need as needed. My question is if I were to simply put all my classes in one file -would a file with 10 different classes cause slower load then...
  4. Replies
    4
    Views
    551

    include pages & size vs. load

    Hello everybody, this might be a dumb question but i can't get an answer from google on this topic and i do not fully understand php.net explanation of this topic.

    I have several different classes...
  5. Replies
    3
    Views
    382

    That makes a little sense, here's an example of...

    That makes a little sense, here's an example of my concern:

    My index page loads a page using jquery into a div element on the page -the page being loaded into the div contains this code:
    ...
  6. Replies
    3
    Views
    382

    Jquery functions sticking in browser

    Hey all,

    I have a page that uses $.load() to bring a page into a div, within THAT div another page is brought in using $.load(). What i've noticed is if i load a page with javascript functions in...
  7. Resolved Thanks for your time in explaining this, i...

    Thanks for your time in explaining this, i appreciate it.
  8. Resolved Got it!!!!!!!!!!

    This query is before the one thats been throwing the prepare error.

    $stmt=$mysqli->prepare("SELECT * FROM sales_file WHERE `id`=?");
    $stmt->bind_param('s',$file);
    $stmt->execute();...
  9. Resolved function getServiceTypes($id){ global $mysqli;...

    function getServiceTypes($id){
    global $mysqli;

    $stmt=$mysqli->prepare("SELECT `id`,`file`,`type` FROM sales_file_type WHERE `file`=?");
    if( !($stmt instanceof mysqli_stmt) ){
    // BAD...
  10. Resolved prepare() didn't work: Commands out of sync; you...

    prepare() didn't work: Commands out of sync; you can't run this command now
  11. Resolved Duuuuuude! Sometimes sleep deprivation and too...

    Duuuuuude! Sometimes sleep deprivation and too much coffee will make you overlook the DUMB little mistakes!!

    THANKS!
  12. Resolved function getServiceTypes($id){ global $mysqli;...

    function getServiceTypes($id){
    global $mysqli;

    if($stmt=$mysqli->prepare("INSERT INTO sales_file_type WHERE `file`=?")){

    $stmt->bind_param('s',$id);
    $stmt->execute();...
  13. Resolved Mysqli prepared stmt - using object multiple times?

    Hello all,

    I am using mysqli prepared statements and I have moved to my first medium sized project which i'm having a problem with objects now. I have a broad understanding of the objects and...
  14. This page is loaded into the document... and at...

    This page is loaded into the document... and at the bottom you see it sets the var 'currentDate'.. the alert right below the var shows the current date and fires correctly.

    <?php...
  15. calling variable from parent document in ajax loaded content

    I have a page that sets a global variable with the date, the ajax loaded content requests that date but for some reason is not working.

    I use jquery load() to bring the new page into the div and...
  16. Replies
    5
    Views
    1,231

    Resolved // you need to put an escape character before the...

    // you need to put an escape character before the closing </script> tag, like this: <\/script>


    <script language="javascript">

    document.write("<script src='other.js'><\/script>");
    ...
  17. Replies
    5
    Views
    1,231

    Resolved John, Thanks for your input! This is exactly what...

    John, Thanks for your input! This is exactly what i'm looking for to resolve my issue! I'm not using jquery though.

    Thanks again!
  18. Replies
    5
    Views
    1,231

    Resolved I am experienced with ajax functions and bringing...

    I am experienced with ajax functions and bringing in dynamic content.. I understand that the browser looks an the initial page javascript loaded..but if new javascript functions are brought in...
  19. Replies
    5
    Views
    1,231

    Resolved Load a new .js file with ajax request

    Is it possible to load a javascript file into the page via ajax?
  20. You need to look into jQuery..what your talking...

    You need to look into jQuery..what your talking about is similar to how facebook loads on the fly content as you scroll further down... there are a lot of different methods to accomplish this but...
  21. Yes, you can hide the div or erase the innerHTML...

    Yes, you can hide the div or erase the innerHTML

    Hide dive:

    onClick="document.getElementById('divId').style.display="none";

    Erase html content from div:
    ...
  22. Resolved Man, thanks a ton! This was a real hair puller!!

    Man, thanks a ton! This was a real hair puller!!
  23. Resolved encodeURIComponent() did not work either, the...

    encodeURIComponent() did not work either, the debug tool in firefox says element null -ajax still hangs up


    http://redshielddefense.com/test/9apr12/test.php
  24. Resolved function testAjaxElement(){ var...

    function testAjaxElement(){
    var testElement=document.getElementById("ajaxLoadedElement").value;
    alert("Ajax Loaded Element= "+testElement);
    }

    ^This works

    ...
  25. Resolved Ajax loaded element not recognized in ajax post send(element)?

    I have a div that is loaded via ajax. In the div is a select box. I am having trouble getting the value from the select box


    function testA(){
    var...
Results 1 to 25 of 83
Page 1 of 4 1 2 3 4