<tr>
<td class="cat" CategoryId="8">NoChange*: </td>
<td><span class="itm" CategoryId="8">A</span></td>
</tr>
<tr>
<td class="cat" CategoryId="9">Row should be red*: </td>
<td></td>
</tr>
<tr>
<td class="cat">Comments:</td>
<td><span class="itm"></span></td>
</tr>
I want to set Validation for Category which d...
Hi everybody !
For instance the mx.controls.Image objects are only displayed when i add them directly to the main application object. If i add a "subimage" to the previously created Image object it simply doesnt show. Why ? What concept did i miss ?
What I want to do:
var img : Image = new Image;
var subimg : Image = new Image;
img.s...
Hey guys. I am trying to get the selected option in an each loop. What is the correct syntax to achieve that?
I tried the following:
var row = $('#template_23423);
row.find('select[name^=COUNTY]').each(function (){
var selectedOption = $(this).children(':selected').val();
Any ideas?
...
I'm struggling with applying the visitor pattern on some objects that have scalar members and at the same time aggregate members (collections).
These are the objects that I have:
Artist
- id
- name
- .. more scalar values ..
- worksOfArt <-- this is a collection as WorkOfArt instances
WorkOfArt
- id
- name
- .. more scalar val...
Is it possible with XML schema to restrict the depth of child elements nested in a parent?
The context here is I collect alarms from a management system and I want to provide a XML document which allows the end user define some rules in order to filter the alarms into folders in the UI. I want to restrict the depth of nested folders to ...
I'm using TFHpple (which uses XPath) to parse an HTML document. I can get the content of various nodes, etc. But the code I found on GitHub seems incomplete. It has a method to get the attributes of a node but the child array. So I wrote one and failed. The two "attributes" methods below work fine. Basically, I'd like to get the child ar...
In my actual code:
<div id="mother">
<div id="child-01"></div>
<div id="child-02"></div>
<div id="child-03"></div>
</ul>
I need to produce:
<div id="mother">
<div id="myWrap">
<div id="child-01"></div>
<div id="child-02"></div>
</div>
<div id="child-03"></div>
</ul>
I was playing with wrap, w...
I am trying to add a simple delay to a mouseover event of a child and having difficulties. (Still learning!)
This enables me to show the popup after a delay, but shows all of them simultaneously:
onmouseover='setTimeout(function() { $(\".skinnyPopup\").show(); }, 600)'
and this works to show only the popup I want with no delay:
onmo...
Hi All
I am having some problems with my data binding and I hope somebody can help me.
I have created a really simple example for what I am trying to achieve, which you can see below.
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" horizontalAlign="center" verticalAlign="middle" ini...
Hi.
I'm quite new at Javascript, and have so far only used the DOM, but I now need to access the browser model, and I don't know if what I'd like to do is possible.
The problem: sometimes I let my youngest daughter browse some kid-friendly Flash game sites. The problem is that most flash games display links to other sites in their spl...
I have a set of tables with children of children, like so:
Clients (PK ClientID) which is parent (one to many) to
Property (PK PropertyID, FK ClientID) which is parent (one to many) to
Property Detail (PK PropDetailID, FK PropertyID) and Case (PK CaseID, FK PropertyID).
Should the foreign keys for the parent tables be repeated furth...
Hi, I am making a collapsible ContentControl.
Everything works fine until I try to embed a collapsible ContentControl as content inside the ContentPresenter of the same type collapsible control. The collapsing and expanding is done using animations. But when the content of the collapsible control changes in size it will not update its pa...
I am trying to change to position of children of the body. I obviously do not understand how to do so, but I thought it would be novel if the following code would work:
var temp = $('body').children()[0];
$('body').children()[0] = $('body').children()[1];
$('body').children()[1] = temp;
Sadly for me, it does not. I have searched and...
Hi
I'm trying to create a query on a very simple table (organisations)
I have the columns
Organisation, Manager, Superior_Organisation
CEO
Leadership Team, David, CEO
Production Management, Alex, Leadership Team
Production Site 1, Francoise, Production Management
Production Site 2, Steve, Production Management
Production Site 1 Maint...
Hello.
Is there a way to modify a UIElement's contents?
I have something like this:
System.IO.FileStream rdr = System.IO.File.OpenRead(xamlFilePath);
System.Windows.UIElement uie = (System.Windows.UIElement)System.Windows.Markup.XamlReader.Load(rdr);
And when I run the debugger and add uie to the "Watch" window, it gives me the foll...
Hello. I have a little trivial problem in my application. I have a dialog (d1) that inherits from Form. And in Main, if I call
d1.ShowDialog
,it works fine. But calling
d1.Show()
opens a bad form with pale labels and textboxes, and when I try to drag that window form it says "Not Responding."
What's going on? I think I need "Show"...