Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by jstreich

  1. jstreich

    Need PHP Select records into dropdown box help

    First, mysql_ functions are a bad idea; try switching to mysqli_ for better sanitation and being type safe. The die(...) function should be lowercase in both instances. besides that, what error(s) are you getting? http://jastreich.com/
  2. jstreich

    javascript callbacks for embedded videos

    jQuery's frameReady plugin frameReady.js For instnace: $.frameReady( function() { $("div").css("background", "red"); }, "framename" ); Changes the divs in the iframe red. http://jastreich.com/
  3. jstreich

    $.post callback data is empty

    The problem, after thinking about isn't likely in php file your submitting to, otherwise it would not work the first time. Using firebug (or similar tool), you need to find out is the ajax call being made? What is actually being sent in both directions? The code you posted, alone works...
  4. jstreich

    $.post callback data is empty

    data would be empty then if your query is empty. Try watching the responces with a tool like firebug to verify. Also, try writing a simple for (non-ajax) that posts to it, and see if you have any output. http://jastreich.com/
  5. jstreich

    Output Text Color

    Or css: .error { color: red; } javascript: var s_error_field_empty = '<span class="error">Please enter a value for this field</span>'; Benifit: You can change the appearance of all your error messages at once. Then you need to write the message to the HTML in the appropriate spot. Otherwise...
  6. jstreich

    JQuery add an element 1/2 opacity

    Fixed the opacity by using plain JavaScript, but I'm still not able to get drag to work on appended elements, and sortable and draggable still fight. http://game-master.us/phpx-3.4.0/
  7. jstreich

    JQuery add an element 1/2 opacity

    I have: $(".dragable").draggable({cancel: "a.ui-icon", revert: "invalid", containment: $("#content"), helper: "clone", cursor: "move" }); $(".album, .photos").droppable({ accept: ".dragable", activeClass: "ui-state-highlight", drop: function( event, ui ) { if($(this) !=...
  8. jstreich

    Printing div's

    Print styles to help avoid are nice, but they aren't fool proof... It won't always work, for various reasons. Moreover, what size paper is user using? What client side CSS do they have in their browser? What assistive technology are they using? You can't control these things (unless you can...
  9. jstreich

    XSLT just sort the XML

    Order indeed worked! Thanks. http://game-master.us/phpx-3.4.0/
  10. jstreich

    XSLT just sort the XML

    Thanks, that gets me valid xml, but the sort doesn't appear to work; what I get out is no different than what went in. :(
  11. jstreich

    XSLT just sort the XML

    I have a atom file file that looks like <?xml version="1.0" encoding="utf-8"?> <feed xmlns="http://www.w3.org/2005/Atom"> <title>Zimbra CIE_Events</title> <generator>Zimbra Atom Feed Servlet</generator> <updated>2009-04-16T15:41:55-05:00</updated> <entry> <title>Culture Cafe...
  12. jstreich

    linking virtual class

    I'm compiling with g++, and I have a abstract class: class listener { public: listener(){} virtual ~listener(){}; virtual void actionPerformed(void* event,void* actor)=0; private: listener(const listener& l){} }; when I try to compile it into a project I get an object...
  13. jstreich

    copy link list

    Are you writing the list or using the STL list class? If writing your own, and you don't need the original, like uilj said, just attach the one list to the other. If you're writing the copy constructor or an insert for one list into another, you have to loop through each element and declare...
  14. jstreich

    Batch nae change name

    Ah, got it. ... rename 's/parts-1/violin/' *parts* rename 's/parts-2/flue/' *parts* .. http://game-master.us/phpx-3.4.0/
  15. jstreich

    Batch nae change name

    The stars expand in both the first and the second, part of those commands so it doesn't do what you think it does... Though I think it does in DOS. That isn't what I'm looking for. http://game-master.us/phpx-3.4.0/

Part and Inventory Search

Back
Top