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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. markronz

    Javascript to edit all script tags

    Hello all- I need to replace all <tags> and make them look like <ws:tags> in a provided string. So for example, if this string was provided: <recipientScheduleDetail> <scheduleName>Mark Test</scheduleName> <division>/IT//division> <shifts>...
  2. markronz

    VB.NET Program - problems deserializing JSON into List of objects

    Hello All- I am hoping someone may be able to help me figure this out. I am querying something via an API call, and it does return a list of items in its RawJSON. Right now my code does that much correctly, but I'm having difficulty turning that into a list of ServerRecord objects...
  3. markronz

    SCOM 2012 - Use Powershell to put specific server and contained objects into Maintenance Mode

    Oops, in the middle there I meant to say: "The second part, which I know for a fact isn't fully working, is intended to stop maintenance mode for a server.
  4. markronz

    SCOM 2012 - Use Powershell to put specific server and contained objects into Maintenance Mode

    I am trying to develop what I thought was going to be an easy script, to put a specific server and all it's contained objects into maintenance mode in SCOM 2012. Not a group, but just one specific server and all it's stuff. My script to START maintenance mode has two parameters: 1. The FQDN...
  5. markronz

    Help with SQL Query

    oops, I meant Select Destination, Case WHEN Destination IN (Select DISTINCT GroupName from tblDestinations) Then 'Yes' Else 'No' End As IsGroup From tblDestinations Where GroupName ='something I specify' ORDER BY DestinationName
  6. markronz

    Help with SQL Query

    Actually, I think I just figured it out. I had to add the word "WHEN". Select Destination, Case Destination IN (Select DISTINCT GroupName from tblDestinations) Then 'Yes' Else 'No' End As IsGroup From tblDestinations Where GroupName ='something I specify' ORDER BY DestinationName...
  7. markronz

    Help with SQL Query

    Turns out that I had this wrong as to what I was trying to accomplish. I need to be able to query the tblDestinations table for a specific group. So let me restate what I mean. basically this is what I want: Select Destination, IsGroup From tblDestinations Where GroupName = "something I...
  8. markronz

    Help with SQL Query

    That did the trick, thank you both! And yes, it makes sense. I did have to make one modification, just to be clear though, to add the DISTINCT keyword. For some reason it added a few duplicate rows. So I added it, and it now has the right number of rows. So here's my query. Select...
  9. markronz

    Help with SQL Query

    Hello everyone- I am in need of some assistance in making an SQL query that is a bit outside of my current knowledge. It involves a table with two columns, named tblDestinations. Here's some example rows: GroupName Destination Team1 Team1@email.com Team2...
  10. markronz

    Problems passing variables to javascript

    Perfect, that works! I knew it had to be something like that, just couldn't figure it out. Thanks again!
  11. markronz

    Problems passing variables to javascript

    Hello, me again. I'm making progress, but I'm having some issues passing some arguments to javascript. When I look at my code in my asp, it looks like this: output.Append(" <td class='cell'><A id = 'displayText' HREF = '#' onclick='return hideDiv('" & strTargets & "');'>" & strTargets...
  12. markronz

    ASP generated link, perform sub with arguments

    That's incredibly observant of you ggriffit! And it's the reason I can't simply have the web page display the contents of the group. I am trying to either bring up a new page or display a different pane/div so that I can put a disclaimer at the top that says something to that effect. That the...
  13. markronz

    ASP generated link, perform sub with arguments

    I am very new to HTML, ASP, and Javascript, so please be patient with me. I am wondering the best way to do something. Let me see if I can adequately explain. I have a existing web page that using ASP is generating a table for me. It's querying a database and printing out the information in...
  14. markronz

    Hide one div and show another div via javascript.

    Awesome! That worked! Very happy you guys, they're hiding and unhiding like champs now. Thank you all for the assistance!
  15. markronz

    Hide one div and show another div via javascript.

    I guess labels, contained inside of a Div do not get hidden, even if the div itself is hidden. Guess I'll have to keep playing to figure out how to hide anything contained in that div...
  16. markronz

    Hide one div and show another div via javascript.

    Nevermind I think I may have figured it out. I also removed runat="server" from the lable appearing in that Div as well. And it didn't like that. So I left it out of the Div still, but added the runat back to the label. I think I still need to tweak something because the AlertGroupResults...
  17. markronz

    Hide one div and show another div via javascript.

    I've removed the runat="server" part of those "div" lines, and then when I view the source on the webpage now, the Div DOES show up. So that's cool. <div style="width: 100%; height: 100px; left: 4px; top: 2px;" class="container" id="AlertGroupResults" visible="false">...
  18. markronz

    Hide one div and show another div via javascript.

    Ok, I've updated the code that's in my hyperlink, to be like you suggested. This still works, in as far as it does still hide the one DIV. When I look at the source of the actual web page as you've suggested, the entire AlertGroupResults div is missing. Any ideas why it would be in my project...
  19. markronz

    Hide one div and show another div via javascript.

    Hello all- I have a page with two <div>'s on it. I have a link that appears within one of the div's. When the user clicks on the link, I want it to hide that div, and show the other. This seems like it should be simple, however I keep running into an Object Required issue, and I'm not...
  20. markronz

    Newbie Question HTML, Maybe Javascript -- opening pop up

    Thanks for the responses. I am using HTML and Javascript. I'm unfamiliar with what you mean by the GET variables though, could you elaborate some more? I have changed my row lines so they generate as follows now: output.Append(" <td class='cell'><A HREF = 'popupbasic.html?valueName =...

Part and Inventory Search

Back
Top